Class FunctionCall
java.lang.Object
tech.oxfordsemantic.jrdfox.logic.LogicObject
tech.oxfordsemantic.jrdfox.logic.expression.Expression
tech.oxfordsemantic.jrdfox.logic.expression.FunctionCall
- All Implemented Interfaces:
- java.io.Serializable
public class FunctionCall extends Expression
- See Also:
- Serialized Form
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classFunctionCall.ScalarValue
- 
Field SummaryFields Modifier and Type Field Description static java.lang.StringADDstatic java.lang.StringDIVIDEstatic java.lang.StringEQUALstatic java.lang.StringGREATER_EQUAL_THANstatic java.lang.StringGREATER_THANstatic java.lang.StringLESS_EQUAL_THANstatic java.lang.StringLESS_THANstatic java.lang.StringLOGICAL_ANDstatic java.lang.StringLOGICAL_NOTstatic java.lang.StringLOGICAL_ORstatic java.lang.StringMULTIPLYstatic java.lang.StringNOT_EQUALstatic java.lang.StringNUMERIC_UNARY_MINUSstatic java.lang.StringNUMERIC_UNARY_PLUSstatic java.lang.StringSUBTRACT
- 
Method SummaryModifier and Type Method Description <E> Eaccept(LogicVisitor<E> visitor)static FunctionCalladd(java.util.List<Expression> arguments)static FunctionCalladd(Expression... arguments)static FunctionCallcreate(java.lang.String functionName, boolean isDistinct, java.util.List<FunctionCall.ScalarValue> scalarValues, java.util.List<Expression> arguments)static FunctionCallcreate(java.lang.String functionName, boolean isDistinct, FunctionCall.ScalarValue[] scalarValues, Expression... arguments)static FunctionCallcreate(java.lang.String functionName, java.util.List<Expression> arguments)static FunctionCallcreate(java.lang.String functionName, Expression... arguments)static FunctionCalldivide(Expression argument1, Expression argument2)static FunctionCallequal(Expression argument1, Expression argument2)tech.oxfordsemantic.jrdfox.util.ImmutableArrayList<Expression>getArguments()java.lang.StringgetFunctionName()booleangetIsDistinct()java.util.List<FunctionCall.ScalarValue>getScalarValues()static FunctionCallgreaterEqualThan(Expression argument1, Expression argument2)static FunctionCallgreaterThan(Expression argument1, Expression argument2)booleanisPrintedAsFunction()static FunctionCalllessEqualThan(Expression argument1, Expression argument2)static FunctionCalllessThan(Expression argument1, Expression argument2)static FunctionCalllogicalAnd(java.util.List<Expression> arguments)static FunctionCalllogicalAnd(Expression... arguments)static FunctionCalllogicalNot(Expression argument)static FunctionCalllogicalOr(java.util.List<Expression> arguments)static FunctionCalllogicalOr(Expression... arguments)static FunctionCallmultiply(java.util.List<Expression> arguments)static FunctionCallmultiply(Expression... arguments)static FunctionCallnotEqual(Expression argument1, Expression argument2)static FunctionCallnumericUnaryMinus(Expression argument)static FunctionCallnumericUnaryPlus(Expression argument)static FunctionCallsubtract(Expression argument1, Expression argument2)voidtoString(Prefixes prefixes, java.util.function.Consumer<java.lang.String> consumer)Methods inherited from class tech.oxfordsemantic.jrdfox.logic.LogicObjecttoString, toString, toString
- 
Field Details- 
LOGICAL_ORpublic static final java.lang.String LOGICAL_OR- See Also:
- Constant Field Values
 
- 
LOGICAL_ANDpublic static final java.lang.String LOGICAL_AND- See Also:
- Constant Field Values
 
- 
LOGICAL_NOTpublic static final java.lang.String LOGICAL_NOT- See Also:
- Constant Field Values
 
- 
EQUALpublic static final java.lang.String EQUAL- See Also:
- Constant Field Values
 
- 
NOT_EQUALpublic static final java.lang.String NOT_EQUAL- See Also:
- Constant Field Values
 
- 
LESS_THANpublic static final java.lang.String LESS_THAN- See Also:
- Constant Field Values
 
- 
LESS_EQUAL_THANpublic static final java.lang.String LESS_EQUAL_THAN- See Also:
- Constant Field Values
 
- 
GREATER_THANpublic static final java.lang.String GREATER_THAN- See Also:
- Constant Field Values
 
- 
GREATER_EQUAL_THANpublic static final java.lang.String GREATER_EQUAL_THAN- See Also:
- Constant Field Values
 
- 
ADDpublic static final java.lang.String ADD- See Also:
- Constant Field Values
 
- 
SUBTRACTpublic static final java.lang.String SUBTRACT- See Also:
- Constant Field Values
 
- 
MULTIPLYpublic static final java.lang.String MULTIPLY- See Also:
- Constant Field Values
 
- 
DIVIDEpublic static final java.lang.String DIVIDE- See Also:
- Constant Field Values
 
- 
NUMERIC_UNARY_PLUSpublic static final java.lang.String NUMERIC_UNARY_PLUS- See Also:
- Constant Field Values
 
- 
NUMERIC_UNARY_MINUSpublic static final java.lang.String NUMERIC_UNARY_MINUS- See Also:
- Constant Field Values
 
 
- 
- 
Method Details- 
getFunctionNamepublic java.lang.String getFunctionName()
- 
getIsDistinctpublic boolean getIsDistinct()
- 
getScalarValues
- 
getArguments
- 
isPrintedAsFunctionpublic boolean isPrintedAsFunction()
- 
accept- Specified by:
- acceptin class- LogicObject
 
- 
toString- Specified by:
- toStringin class- LogicObject
 
- 
createpublic static FunctionCall create(java.lang.String functionName, boolean isDistinct, java.util.List<FunctionCall.ScalarValue> scalarValues, java.util.List<Expression> arguments)
- 
createpublic static FunctionCall create(java.lang.String functionName, boolean isDistinct, FunctionCall.ScalarValue[] scalarValues, Expression... arguments)
- 
createpublic static FunctionCall create(java.lang.String functionName, java.util.List<Expression> arguments)
- 
create
- 
logicalOr
- 
logicalOr
- 
logicalAnd
- 
logicalAnd
- 
logicalNot
- 
equal
- 
notEqual
- 
lessThan
- 
lessEqualThan
- 
greaterThan
- 
greaterEqualThan
- 
add
- 
add
- 
subtract
- 
multiply
- 
multiply
- 
divide
- 
numericUnaryPlus
- 
numericUnaryMinus
 
-