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:
Serializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class Expression
EMPTY_ARRAY -
Method Summary
Modifier and TypeMethodDescription<E> Eaccept(LogicVisitor<E> visitor) static FunctionCalladd(List<Expression> arguments) static FunctionCalladd(Expression... arguments) static FunctionCallcreate(String functionName, boolean isDistinct, List<FunctionCall.ScalarValue> scalarValues, List<Expression> arguments) static FunctionCallcreate(String functionName, boolean isDistinct, FunctionCall.ScalarValue[] scalarValues, Expression... arguments) static FunctionCallcreate(String functionName, List<Expression> arguments) static FunctionCallcreate(String functionName, Expression... arguments) static FunctionCalldivide(Expression argument1, Expression argument2) static FunctionCallequal(Expression argument1, Expression argument2) tech.oxfordsemantic.jrdfox.util.ImmutableArrayList<Expression> booleanstatic FunctionCallgreaterEqualThan(Expression argument1, Expression argument2) static FunctionCallgreaterThan(Expression argument1, Expression argument2) booleanstatic FunctionCalllessEqualThan(Expression argument1, Expression argument2) static FunctionCalllessThan(Expression argument1, Expression argument2) static FunctionCalllogicalAnd(List<Expression> arguments) static FunctionCalllogicalAnd(Expression... arguments) static FunctionCalllogicalNot(Expression argument) static FunctionCalllogicalOr(List<Expression> arguments) static FunctionCalllogicalOr(Expression... arguments) static FunctionCallmultiply(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) voidMethods inherited from class LogicObject
toString, toString, toString
-
Field Details
-
LOGICAL_OR
- See Also:
-
LOGICAL_AND
- See Also:
-
LOGICAL_NOT
- See Also:
-
EQUAL
- See Also:
-
NOT_EQUAL
- See Also:
-
LESS_THAN
- See Also:
-
LESS_EQUAL_THAN
- See Also:
-
GREATER_THAN
- See Also:
-
GREATER_EQUAL_THAN
- See Also:
-
ADD
- See Also:
-
SUBTRACT
- See Also:
-
MULTIPLY
- See Also:
-
DIVIDE
- See Also:
-
IDIV
- See Also:
-
MOD
- See Also:
-
NUMERIC_UNARY_PLUS
- See Also:
-
NUMERIC_UNARY_MINUS
- See Also:
-
IN
- See Also:
-
NOT_IN
- See Also:
-
-
Method Details
-
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(String functionName, boolean isDistinct, List<FunctionCall.ScalarValue> scalarValues, List<Expression> arguments) -
create
public static FunctionCall create(String functionName, boolean isDistinct, FunctionCall.ScalarValue[] scalarValues, Expression... arguments) -
create
-
create
-
logicalOr
-
logicalOr
-
logicalAnd
-
logicalAnd
-
logicalNot
-
equal
-
notEqual
-
lessThan
-
lessEqualThan
-
greaterThan
-
greaterEqualThan
-
add
-
add
-
subtract
-
multiply
-
multiply
-
divide
-
numericUnaryPlus
-
numericUnaryMinus
-