|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.hp.hpl.jena.sparql.expr.ExprNode
com.hp.hpl.jena.sparql.expr.ExprFunction
public abstract class ExprFunction
A function in the expression hierarchy. Everything that is evaluable (i.e. not NodeValue, NodeVar) is a function). It is useful to distinguish between values, vars and functions. The exists operations (which take a op, not arguments) are functions of zero arguments.
| Field Summary |
|---|
| Fields inherited from interface com.hp.hpl.jena.sparql.expr.Expr |
|---|
CMP_EQUAL, CMP_GREATER, CMP_INDETERMINATE, CMP_LESS, CMP_UNEQUAL |
| Method Summary | |
|---|---|
boolean |
equals(Object other)
|
abstract Expr |
getArg(int i)
|
List<Expr> |
getArgs()
|
ExprFunction |
getFunction()
Get the function (returns null if not a function) |
String |
getFunctionIRI()
|
String |
getFunctionName(SerializationContext cxt)
Name as a simple name or "function" |
String |
getFunctionPrintName(SerializationContext cxt)
Name used for output: SPARQL format: just the extension functions Prefix format: the function name, dafaulting to the symbol string Overrided in ExprFunctionN |
FunctionLabel |
getFunctionSymbol()
|
String |
getOpName()
|
int |
hashCode()
|
boolean |
isFunction()
Answer wether this is a function. |
abstract int |
numArgs()
|
| Methods inherited from class com.hp.hpl.jena.sparql.expr.ExprNode |
|---|
applyNodeTransform, asVar, copySubstitute, copySubstitute, deepCopy, eval, getConstant, getExpr, getExprVar, getGraphPattern, getVarName, getVarNamesMentioned, getVarsMentioned, isConstant, isExpr, isGraphPattern, isSatisfied, isVariable, toString, varNamesMentioned, varsMentioned |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.hp.hpl.jena.sparql.expr.Expr |
|---|
visit |
| Method Detail |
|---|
public abstract Expr getArg(int i)
public abstract int numArgs()
public List<Expr> getArgs()
public boolean isFunction()
Expr
isFunction in interface ExprisFunction in class ExprNodepublic ExprFunction getFunction()
Expr
getFunction in interface ExprgetFunction in class ExprNodepublic int hashCode()
hashCode in class ExprNodepublic boolean equals(Object other)
equals in class ExprNodepublic String getFunctionPrintName(SerializationContext cxt)
public String getFunctionName(SerializationContext cxt)
public FunctionLabel getFunctionSymbol()
public String getFunctionIRI()
public String getOpName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||