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

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.ExprFunctionOp
All Implemented Interfaces:
Expr
Direct Known Subclasses:
E_Exists, E_NotExists

public abstract class ExprFunctionOp
extends ExprFunction

A "function" that executes over a pattern


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
 Expr apply(ExprTransform transform, ExprList args, Op x)
           
abstract  ExprFunctionOp copy(ExprList args, Op x)
           
 NodeValue eval(Binding binding, FunctionEnv env)
          Evaluate this expression against the binding
 Expr getArg(int i)
           
 Element getElement()
           
 Op getGraphPattern()
           
 boolean isGraphPattern()
           
 int numArgs()
           
 void visit(ExprVisitor visitor)
           
 
Methods inherited from class com.hp.hpl.jena.sparql.expr.ExprFunction
equals, getArgs, getFunction, getFunctionIRI, getFunctionName, getFunctionPrintName, getFunctionSymbol, getOpName, hashCode, isFunction
 
Methods inherited from class com.hp.hpl.jena.sparql.expr.ExprNode
applyNodeTransform, asVar, copySubstitute, copySubstitute, deepCopy, getConstant, getExpr, getExprVar, getVarName, getVarNamesMentioned, getVarsMentioned, isConstant, isExpr, isSatisfied, isVariable, toString, varNamesMentioned, varsMentioned
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getArg

public Expr getArg(int i)
Specified by:
getArg in class ExprFunction

isGraphPattern

public boolean isGraphPattern()
Overrides:
isGraphPattern in class ExprNode

getGraphPattern

public Op getGraphPattern()
Overrides:
getGraphPattern in class ExprNode

getElement

public Element getElement()

numArgs

public int numArgs()
Specified by:
numArgs 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

copy

public abstract ExprFunctionOp copy(ExprList args,
                                    Op x)

visit

public void visit(ExprVisitor visitor)

apply

public Expr apply(ExprTransform transform,
                  ExprList args,
                  Op x)


Licenced under the Apache License, Version 2.0