java.lang.Object
org.apache.jena.sparql.expr.ExprNode
org.apache.jena.sparql.expr.ExprFunction
org.apache.jena.sparql.expr.ExprFunctionN
- All Implemented Interfaces:
Expr
- Direct Known Subclasses:
E_AdjustToTimezone
,E_Call
,E_Coalesce
,E_Function
,E_OneOfBase
,E_Regex
,E_StrConcat
,E_StrReplace
,E_StrSubstring
A function which takes N arguments (N may be variable e.g. regex)
-
Field Summary
Fields inherited from interface org.apache.jena.sparql.expr.Expr
CMP_EQUAL, CMP_GREATER, CMP_INDETERMINATE, CMP_LESS, CMP_UNEQUAL, NONE
-
Method Summary
Modifier and TypeMethodDescriptionapply
(ExprTransform transform, ExprList exprList) applyNodeTransform
(NodeTransform transform) Rewrite, applying a node->node transformationabstract Expr
copySubstitute
(Binding binding) Deep copy with substitutionabstract NodeValue
eval
(List<NodeValue> args, FunctionEnv env) final NodeValue
eval
(Binding binding, FunctionEnv env) Evaluate this expression against the bindinggetArg
(int i) getArgs()
int
numArgs()
void
visit
(ExprVisitor visitor) Methods inherited from class org.apache.jena.sparql.expr.ExprFunction
equals, getFunction, getFunctionIRI, getFunctionName, getFunctionPrintName, getFunctionSymbol, getOpName, hashCode, isFunction
Methods inherited from class org.apache.jena.sparql.expr.ExprNode
asVar, deepCopy, equals, equalsBySyntax, getConstant, getExpr, getExprVar, getGraphPattern, getVarName, getVarsMentioned, isConstant, isExpr, isGraphPattern, isSatisfied, isVariable, toString
-
Method Details
-
getArg
- Specified by:
getArg
in classExprFunction
-
numArgs
public int numArgs()- Specified by:
numArgs
in classExprFunction
-
getArgs
- Overrides:
getArgs
in classExprFunction
-
copySubstitute
Description copied from interface:Expr
Deep copy with substitution- Specified by:
copySubstitute
in interfaceExpr
- Specified by:
copySubstitute
in classExprNode
-
applyNodeTransform
Description copied from interface:Expr
Rewrite, applying a node->node transformation- Specified by:
applyNodeTransform
in interfaceExpr
- Specified by:
applyNodeTransform
in classExprNode
-
eval
Description copied from interface:Expr
Evaluate this expression against the binding -
eval
-
eval
-
copy
-
visit
-
apply
-