Package org.apache.jena.sparql.expr
Class E_Function
- java.lang.Object
-
- org.apache.jena.sparql.expr.ExprNode
-
- org.apache.jena.sparql.expr.ExprFunction
-
- org.apache.jena.sparql.expr.ExprFunctionN
-
- org.apache.jena.sparql.expr.E_Function
-
- All Implemented Interfaces:
Expr
public class E_Function extends ExprFunctionN
SPARQL filter function
-
-
Field Summary
Fields Modifier and Type Field Description static booleanWarnOnUnknownFunction-
Fields inherited from interface org.apache.jena.sparql.expr.Expr
CMP_EQUAL, CMP_GREATER, CMP_INDETERMINATE, CMP_LESS, CMP_UNEQUAL, NONE
-
-
Constructor Summary
Constructors Constructor Description E_Function(java.lang.String functionIRI, ExprList args)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbuildFunction(Context cxt)Exprcopy(ExprList newArgs)NodeValueeval(java.util.List<NodeValue> args)NodeValueevalSpecial(Binding binding, FunctionEnv env)java.lang.StringgetFunctionIRI()URI for this function, whether custom or specification defined URI (these are keywords in the language)java.lang.StringgetFunctionName(SerializationContext cxt)Name used in a functional form (i.e.java.lang.StringgetFunctionPrintName(SerializationContext cxt)Name used for output in SPARQL format needing functional form (no specific keyword).-
Methods inherited from class org.apache.jena.sparql.expr.ExprFunctionN
apply, applyNodeTransform, copySubstitute, eval, eval, getArg, getArgs, numArgs, visit
-
Methods inherited from class org.apache.jena.sparql.expr.ExprFunction
equals, getFunction, 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
-
-
-
-
Constructor Detail
-
E_Function
public E_Function(java.lang.String functionIRI, ExprList args)
-
-
Method Detail
-
getFunctionIRI
public java.lang.String getFunctionIRI()
Description copied from class:ExprFunctionURI for this function, whether custom or specification defined URI (these are keywords in the language)- Overrides:
getFunctionIRIin classExprFunction
-
evalSpecial
public NodeValue evalSpecial(Binding binding, FunctionEnv env)
-
eval
public NodeValue eval(java.util.List<NodeValue> args)
- Specified by:
evalin classExprFunctionN
-
buildFunction
public void buildFunction(Context cxt)
-
getFunctionPrintName
public java.lang.String getFunctionPrintName(SerializationContext cxt)
Description copied from class:ExprFunctionName used for output in SPARQL format needing functional form (no specific keyword). e.g. regexp(), custom functions, ...- Overrides:
getFunctionPrintNamein classExprFunction
-
getFunctionName
public java.lang.String getFunctionName(SerializationContext cxt)
Description copied from class:ExprFunctionName used in a functional form (i.e. SPARQL algebra). getOpName() is used in preference as a short, symbol name.- Overrides:
getFunctionNamein classExprFunction
-
copy
public Expr copy(ExprList newArgs)
- Specified by:
copyin classExprFunctionN
-
-