Class FunctionCall
java.lang.Object
tech.oxfordsemantic.jrdfox.util.InterningManager.InternedObject
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 Summary
Nested Classes Modifier and Type Class Description static classFunctionCall.ScalarValue -
Field Summary
Fields 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.StringIDIVstatic java.lang.StringLESS_EQUAL_THANstatic java.lang.StringLESS_THANstatic java.lang.StringLOGICAL_ANDstatic java.lang.StringLOGICAL_NOTstatic java.lang.StringLOGICAL_ORstatic java.lang.StringMODstatic java.lang.StringMULTIPLYstatic java.lang.StringNOT_EQUALstatic java.lang.StringNUMERIC_UNARY_MINUSstatic java.lang.StringNUMERIC_UNARY_PLUSstatic java.lang.StringSUBTRACT -
Method Summary
Modifier 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.LogicObject
toString, toString, toString
-
Field Details
-
LOGICAL_OR
public static final java.lang.String LOGICAL_OR- See Also:
- Constant Field Values
-
LOGICAL_AND
public static final java.lang.String LOGICAL_AND- See Also:
- Constant Field Values
-
LOGICAL_NOT
public static final java.lang.String LOGICAL_NOT- See Also:
- Constant Field Values
-
EQUAL
public static final java.lang.String EQUAL- See Also:
- Constant Field Values
-
NOT_EQUAL
public static final java.lang.String NOT_EQUAL- See Also:
- Constant Field Values
-
LESS_THAN
public static final java.lang.String LESS_THAN- See Also:
- Constant Field Values
-
LESS_EQUAL_THAN
public static final java.lang.String LESS_EQUAL_THAN- See Also:
- Constant Field Values
-
GREATER_THAN
public static final java.lang.String GREATER_THAN- See Also:
- Constant Field Values
-
GREATER_EQUAL_THAN
public static final java.lang.String GREATER_EQUAL_THAN- See Also:
- Constant Field Values
-
ADD
public static final java.lang.String ADD- See Also:
- Constant Field Values
-
SUBTRACT
public static final java.lang.String SUBTRACT- See Also:
- Constant Field Values
-
MULTIPLY
public static final java.lang.String MULTIPLY- See Also:
- Constant Field Values
-
DIVIDE
public static final java.lang.String DIVIDE- See Also:
- Constant Field Values
-
IDIV
public static final java.lang.String IDIV- See Also:
- Constant Field Values
-
MOD
public static final java.lang.String MOD- See Also:
- Constant Field Values
-
NUMERIC_UNARY_PLUS
public static final java.lang.String NUMERIC_UNARY_PLUS- See Also:
- Constant Field Values
-
NUMERIC_UNARY_MINUS
public static final java.lang.String NUMERIC_UNARY_MINUS- See Also:
- Constant Field Values
-
-
Method Details
-
getFunctionName
public java.lang.String getFunctionName() -
getIsDistinct
public boolean getIsDistinct() -
getScalarValues
-
getArguments
-
isPrintedAsFunction
public boolean isPrintedAsFunction() -
accept
- Specified by:
acceptin classLogicObject
-
toString
- Specified by:
toStringin classLogicObject
-
create
public static FunctionCall create(java.lang.String functionName, boolean isDistinct, java.util.List<FunctionCall.ScalarValue> scalarValues, java.util.List<Expression> arguments) -
create
public static FunctionCall create(java.lang.String functionName, boolean isDistinct, FunctionCall.ScalarValue[] scalarValues, Expression... arguments) -
create
public 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
-