com.hp.hpl.jena.sparql.expr
Class E_Function

java.lang.Object
  extended by com.hp.hpl.jena.sparql.expr.ExprNode
      extended by com.hp.hpl.jena.sparql.expr.ExprFunction
          extended by com.hp.hpl.jena.sparql.expr.ExprFunctionN
              extended by com.hp.hpl.jena.sparql.expr.E_Function
All Implemented Interfaces:
Expr

public class E_Function
extends ExprFunctionN

SPARQL filter function


Field Summary
static boolean WarnOnUnknownFunction
           
 
Fields inherited from interface com.hp.hpl.jena.sparql.expr.Expr
CMP_EQUAL, CMP_GREATER, CMP_INDETERMINATE, CMP_LESS, CMP_UNEQUAL
 
Constructor Summary
E_Function(String functionIRI, ExprList args)
           
 
Method Summary
 void buildFunction(Context cxt)
           
 NodeValue evalSpecial(Binding binding, FunctionEnv env)
          Special form evaluation (example, don't eval the arguments first)
 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).
 
Methods inherited from class com.hp.hpl.jena.sparql.expr.ExprFunctionN
apply, applyNodeTransform, copySubstitute, eval, eval, getArg, getArgs, numArgs, visit
 
Methods inherited from class com.hp.hpl.jena.sparql.expr.ExprFunction
equals, getFunction, getFunctionSymbol, getOpName, hashCode, isFunction
 
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
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

WarnOnUnknownFunction

public static boolean WarnOnUnknownFunction
Constructor Detail

E_Function

public E_Function(String functionIRI,
                  ExprList args)
Method Detail

getFunctionIRI

public String getFunctionIRI()
Description copied from class: ExprFunction
URI for this function, whether custom or specification defined URI (these are keywords in the language)

Overrides:
getFunctionIRI in class ExprFunction

evalSpecial

public NodeValue evalSpecial(Binding binding,
                             FunctionEnv env)
Description copied from class: ExprFunctionN
Special form evaluation (example, don't eval the arguments first)


buildFunction

public void buildFunction(Context cxt)

getFunctionPrintName

public String getFunctionPrintName(SerializationContext cxt)
Description copied from class: ExprFunction
Name used for output in SPARQL format needing functional form (no specific keyword). e.g. regexp(), custom functions, ...

Overrides:
getFunctionPrintName in class ExprFunction

getFunctionName

public String getFunctionName(SerializationContext cxt)
Description copied from class: ExprFunction
Name used in a functional form (i.e. SPARQL algebra). getOpName() is used in preference as a short, symbol name.

Overrides:
getFunctionName in class ExprFunction


Licenced under the Apache License, Version 2.0