Package tech.oxfordsemantic.jrdfox.logic
Class BuiltinFunctionCall
java.lang.Object
tech.oxfordsemantic.jrdfox.logic.BuiltinExpression
tech.oxfordsemantic.jrdfox.logic.BuiltinFunctionCall
- All Implemented Interfaces:
java.io.Serializable
public class BuiltinFunctionCall extends BuiltinExpression
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ADD
static java.lang.String
DIVIDE
static java.lang.String
EQUAL
static java.lang.String
GREATER_EQUAL_THAN
static java.lang.String
GREATER_THAN
static java.lang.String
LESS_EQUAL_THAN
static java.lang.String
LESS_THAN
static java.lang.String
LOGICAL_AND
static java.lang.String
LOGICAL_NOT
static java.lang.String
LOGICAL_OR
static java.lang.String
MULTIPLY
static java.lang.String
NOT_EQUAL
static java.lang.String
NUMERIC_UNARY_MINUS
static java.lang.String
NUMERIC_UNARY_PLUS
static java.lang.String
SUBTRACT
Fields inherited from class tech.oxfordsemantic.jrdfox.logic.BuiltinExpression
NO_BUILTIN_EXPRESSIONS
-
Method Summary
Methods inherited from class tech.oxfordsemantic.jrdfox.logic.BuiltinExpression
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
-
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() -
getArguments
-
getNumberOfArguments
public int getNumberOfArguments() -
getArgument
-
accept
- Specified by:
accept
in classBuiltinExpression
-
toString
public void toString(Prefixes prefixes, java.util.function.Consumer<java.lang.String> consumer, LogicFormat logicFormat)- Specified by:
toString
in classBuiltinExpression
-
create
public static BuiltinFunctionCall create(java.lang.String functionName, java.util.List<BuiltinExpression> arguments) -
create
public static BuiltinFunctionCall create(java.lang.String functionName, BuiltinExpression... arguments) -
logicalOr
-
logicalOr
-
logicalAnd
-
logicalAnd
-
logicalNot
-
equal
-
notEqual
public static BuiltinFunctionCall notEqual(BuiltinExpression argument1, BuiltinExpression argument2) -
lessThan
public static BuiltinFunctionCall lessThan(BuiltinExpression argument1, BuiltinExpression argument2) -
lessEqualThan
public static BuiltinFunctionCall lessEqualThan(BuiltinExpression argument1, BuiltinExpression argument2) -
greaterThan
public static BuiltinFunctionCall greaterThan(BuiltinExpression argument1, BuiltinExpression argument2) -
greaterEqualThan
public static BuiltinFunctionCall greaterEqualThan(BuiltinExpression argument1, BuiltinExpression argument2) -
add
-
add
-
subtract
public static BuiltinFunctionCall subtract(BuiltinExpression argument1, BuiltinExpression argument2) -
multiply
-
multiply
-
divide
-
numericUnaryPlus
-
numericUnaryMinus
-