|
||||||||||
| 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()
URI for this function, whether custom or specification defined URI (these are keywords in the language) |
String |
getFunctionName(SerializationContext cxt)
Name used in a functional form (i.e. |
String |
getFunctionPrintName(SerializationContext cxt)
Name used for output in SPARQL format needing functional form (no specific keyword). |
FunctionLabel |
getFunctionSymbol()
|
String |
getOpName()
Get the symbol name (+, ! etc) for this function -- Maybe null for none |
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 | |||||||||