com.hp.hpl.jena.sparql.expr
Class ExprFunction3
java.lang.Object
com.hp.hpl.jena.sparql.expr.ExprNode
com.hp.hpl.jena.sparql.expr.ExprFunction
com.hp.hpl.jena.sparql.expr.ExprFunction3
- All Implemented Interfaces:
- Expr
- Direct Known Subclasses:
- E_Conditional
public abstract class ExprFunction3
- extends ExprFunction
A function of three arguments
Method Summary |
Expr |
apply(ExprTransform transform,
Expr arg1,
Expr arg2,
Expr arg3)
|
Expr |
applyNodeTransform(NodeTransform transform)
Rewrite, applying a node->node transformation |
abstract Expr |
copy(Expr arg1,
Expr arg2,
Expr arg3)
|
Expr |
copySubstitute(Binding binding,
boolean foldConstants)
|
NodeValue |
eval(Binding binding,
FunctionEnv env)
Evaluate this expression against the binding |
abstract NodeValue |
eval(NodeValue x,
NodeValue y,
NodeValue z)
|
NodeValue |
eval(NodeValue x,
NodeValue y,
NodeValue z,
FunctionEnv env)
|
Expr |
getArg(int i)
|
Expr |
getArg1()
|
Expr |
getArg2()
|
Expr |
getArg3()
|
int |
hashCode()
|
int |
numArgs()
|
void |
visit(ExprVisitor visitor)
|
Methods inherited from class com.hp.hpl.jena.sparql.expr.ExprNode |
asVar, copySubstitute, deepCopy, getConstant, getExpr, getExprVar, getGraphPattern, getVarName, getVarNamesMentioned, getVarsMentioned, isConstant, isExpr, isGraphPattern, isSatisfied, isVariable, toString, varNamesMentioned, varsMentioned |
getArg1
public Expr getArg1()
getArg2
public Expr getArg2()
getArg3
public Expr getArg3()
getArg
public Expr getArg(int i)
- Specified by:
getArg
in class ExprFunction
numArgs
public int numArgs()
- Specified by:
numArgs
in class ExprFunction
hashCode
public int hashCode()
- Overrides:
hashCode
in class ExprFunction
eval
public final NodeValue eval(Binding binding,
FunctionEnv env)
- Description copied from interface:
Expr
- Evaluate this expression against the binding
- Specified by:
eval
in interface Expr
- Specified by:
eval
in class ExprNode
eval
public NodeValue eval(NodeValue x,
NodeValue y,
NodeValue z,
FunctionEnv env)
eval
public abstract NodeValue eval(NodeValue x,
NodeValue y,
NodeValue z)
copySubstitute
public final Expr copySubstitute(Binding binding,
boolean foldConstants)
- Specified by:
copySubstitute
in interface Expr
- Specified by:
copySubstitute
in class ExprNode
applyNodeTransform
public final Expr applyNodeTransform(NodeTransform transform)
- Description copied from interface:
Expr
- Rewrite, applying a node->node transformation
- Specified by:
applyNodeTransform
in interface Expr
- Specified by:
applyNodeTransform
in class ExprNode
copy
public abstract Expr copy(Expr arg1,
Expr arg2,
Expr arg3)
visit
public void visit(ExprVisitor visitor)
apply
public Expr apply(ExprTransform transform,
Expr arg1,
Expr arg2,
Expr arg3)
Licenced under the Apache License, Version 2.0