|
|||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||
| Packages that use Expression | |
| com.hp.hpl.jena.graph.query | Defines the graph-level Query classes, allowing multi-pattern query over arbitrary graphs. |
| Uses of Expression in com.hp.hpl.jena.graph.query |
| Classes in com.hp.hpl.jena.graph.query that implement Expression | |
static class |
Expression.Application
An abstract base class for apply nodes; subclasses implement getFun(), argCount(), and getArg(). |
static class |
Expression.Base
An abstract base class for Expressions; over-ride as appropriate. |
static class |
Expression.BoolConstant
Base class used to implement TRUE and FALSE. |
static class |
Expression.Literal
An abstract base class for literal nodes; subclasses implement getValue(). |
static class |
Expression.Variable
An abstract base class for variable nodes; subclasses implement getName(). |
| Fields in com.hp.hpl.jena.graph.query declared as Expression | |
static Expression |
Expression.TRUE
An Expression which always evaluates to true. |
static Expression |
Expression.FALSE
An Expression which always evaluates to false. |
| Methods in com.hp.hpl.jena.graph.query that return Expression | |
Expression |
Expression.getArg(int i)
If this Expression is an application, and 0 <= i < argCount(), answer the ith argument. |
Expression |
Expression.Base.getArg(int i)
|
abstract Expression |
Expression.Application.getArg(int i)
|
| Methods in com.hp.hpl.jena.graph.query with parameters of type Expression | |
Query |
Query.addConstraint(Expression e)
|
ExpressionSet |
ExpressionSet.add(Expression e)
Answer this expressionset after e has been anded into it. |
static java.util.Set |
Expression.Util.variablesOf(Expression e)
Answer a set containing exactly the names of variables within e. |
static java.util.Set |
Expression.Util.addVariablesOf(java.util.Set s,
Expression e)
Add all the variables of e to s, and answer
s. |
static Valuator |
Expression.Util.prepare(Expression e,
VariableIndexes vi)
Answer a Valuator v such that v.evalBool(IndexValues iv)
will return
e.evalBool( vv ) where vv.get(name) = iv.get(vi.indexOf(name))
|
|
|||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||