|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.hp.hpl.jena.sparql.lang.rdql.SimpleNode
com.hp.hpl.jena.sparql.lang.rdql.Q_StringEqual
com.hp.hpl.jena.sparql.lang.rdql.Q_StringNotEqual
public class Q_StringNotEqual
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.hp.hpl.jena.graph.query.Expression |
|---|
com.hp.hpl.jena.graph.query.Expression.Application, com.hp.hpl.jena.graph.query.Expression.Base, com.hp.hpl.jena.graph.query.Expression.BoolConstant, com.hp.hpl.jena.graph.query.Expression.Constant, com.hp.hpl.jena.graph.query.Expression.Fixed, com.hp.hpl.jena.graph.query.Expression.Util, com.hp.hpl.jena.graph.query.Expression.Valof, com.hp.hpl.jena.graph.query.Expression.Variable |
| Field Summary |
|---|
| Fields inherited from interface com.hp.hpl.jena.sparql.expr.Expr |
|---|
CMP_EQUAL, CMP_GREATER, CMP_INDETERMINATE, CMP_LESS, CMP_UNEQUAL |
| Fields inherited from interface com.hp.hpl.jena.graph.query.Expression |
|---|
FALSE, TRUE |
| Method Summary | |
|---|---|
Expr |
applyNodeTransform(NodeTransform transform)
Rewrite, applying a node->node transformation |
Var |
asVar()
Convert to a Var variable. |
Expr |
copySubstitute(Binding binding)
Deep copy with substitution |
Expr |
copySubstitute(Binding binding,
boolean foldConstants)
|
Expr |
deepCopy()
Deep copy |
NodeValue |
eval(Binding binding,
FunctionEnv env)
Evaluate this expression against the binding |
boolean |
evalBool(com.hp.hpl.jena.graph.query.IndexValues iv)
Answer the result of evaluating the constraint expression as a primitive boolean value; implements Expression.evalBool(*). |
RDQL_NodeValue |
evalNode(Query q,
com.hp.hpl.jena.graph.query.IndexValues env)
Answer the NodeValue result of evaluating the constraints relative to the query and with the specified environment. |
java.lang.Object |
evalObject(com.hp.hpl.jena.graph.query.IndexValues iv)
Answer the result of evaluating the constraint expression; implements Expression.evalObject(*). |
void |
format(Query query,
IndentedWriter writer)
|
NodeValue |
getConstant()
NodeValue constant (returns null if not a constant) |
ExprVar |
getExprVar()
Variable (or null) |
ExprFunction |
getFunction()
Get the function (returns null if not a function) |
java.lang.String |
getName()
|
java.lang.Object |
getValue()
|
java.lang.String |
getVarName()
Variable name (returns null if not a variable) |
java.util.Set<java.lang.String> |
getVarNamesMentioned()
|
java.util.Set<Var> |
getVarsMentioned()
|
boolean |
isConstant()
Answer whether this is a constant expression - false includes "don't know" No constant folding so "false" from an expression that evaluates to a constant |
boolean |
isFunction()
Answer wether this is a function. |
boolean |
isSatisfied(Binding binding,
FunctionEnv execCxt)
Test whether a Constraint is satisfied, given a set of bindings Includes error propagtion and Effective Boolean Value rules. |
boolean |
isSatisfied(com.hp.hpl.jena.graph.query.IndexValues env)
|
boolean |
isVariable()
Answer whether this is a variable (in which case getVarName and getNodeVar can be called) |
void |
jjtClose()
This method is called after all the child nodes have been added. |
void |
postParse2(Query q)
|
com.hp.hpl.jena.graph.query.Valuator |
prepare(com.hp.hpl.jena.graph.query.VariableIndexes vi)
|
void |
varNamesMentioned(java.util.Collection<java.lang.String> acc)
|
void |
varsMentioned(java.util.Collection<Var> acc)
|
void |
visit(ExprVisitor visitor)
|
| Methods inherited from class com.hp.hpl.jena.sparql.lang.rdql.Q_StringEqual |
|---|
argCount, asInfixString, asPrefixString, evalRDQL, format, getArg, getFun, isApply, toString |
| Methods inherited from class com.hp.hpl.jena.sparql.lang.rdql.SimpleNode |
|---|
dump, jjtAddChild, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, postParse1, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.hp.hpl.jena.sparql.lang.rdql.ExprRDQL |
|---|
evalRDQL |
| Methods inherited from interface com.hp.hpl.jena.sparql.lang.rdql.PrintableRDQL |
|---|
asInfixString, asPrefixString, format |
| Methods inherited from interface com.hp.hpl.jena.sparql.expr.Expr |
|---|
applyNodeTransform, asVar, copySubstitute, copySubstitute, deepCopy, eval, getConstant, getExprVar, getFunction, getVarName, getVarsMentioned, isConstant, isFunction, isSatisfied, isVariable, varsMentioned, visit |
| Method Detail |
|---|
public void jjtClose()
RDQL_Node
jjtClose in interface RDQL_NodejjtClose in class Q_StringEqualpublic Expr copySubstitute(Binding binding)
Expr
copySubstitute in interface Expr
public Expr copySubstitute(Binding binding,
boolean foldConstants)
copySubstitute in interface Exprpublic Expr applyNodeTransform(NodeTransform transform)
Expr
applyNodeTransform in interface Exprpublic Expr deepCopy()
Expr
deepCopy in interface Expr
public NodeValue eval(Binding binding,
FunctionEnv env)
Expr
eval in interface Exprpublic NodeValue getConstant()
Expr
getConstant in interface Exprpublic ExprVar getExprVar()
Expr
getExprVar in interface Exprpublic java.lang.String getVarName()
Expr
getVarName in interface Exprpublic Var asVar()
Expr
asVar in interface Exprpublic void visit(ExprVisitor visitor)
visit in interface Expr
public boolean isSatisfied(Binding binding,
FunctionEnv execCxt)
Expr
isSatisfied in interface Exprbinding - The bindingsexecCxt - FunctionEnv
public boolean isSatisfied(com.hp.hpl.jena.graph.query.IndexValues env)
public void postParse2(Query q)
postParse2 in class SimpleNodepublic java.util.Set<Var> getVarsMentioned()
getVarsMentioned in interface Exprpublic java.util.Set<java.lang.String> getVarNamesMentioned()
public void varNamesMentioned(java.util.Collection<java.lang.String> acc)
public void varsMentioned(java.util.Collection<Var> acc)
varsMentioned in interface Exprpublic com.hp.hpl.jena.graph.query.Valuator prepare(com.hp.hpl.jena.graph.query.VariableIndexes vi)
prepare in interface com.hp.hpl.jena.graph.query.Expressionpublic java.lang.Object evalObject(com.hp.hpl.jena.graph.query.IndexValues iv)
evalObject in interface com.hp.hpl.jena.graph.query.Valuatorpublic boolean evalBool(com.hp.hpl.jena.graph.query.IndexValues iv)
evalBool in interface com.hp.hpl.jena.graph.query.Valuator
public RDQL_NodeValue evalNode(Query q,
com.hp.hpl.jena.graph.query.IndexValues env)
public boolean isVariable()
Expr
isVariable in interface com.hp.hpl.jena.graph.query.ExpressionisVariable in interface Exprpublic java.lang.String getName()
getName in interface com.hp.hpl.jena.graph.query.Expressionpublic boolean isConstant()
Expr
isConstant in interface com.hp.hpl.jena.graph.query.ExpressionisConstant in interface Exprpublic java.lang.Object getValue()
getValue in interface com.hp.hpl.jena.graph.query.Expressionpublic boolean isFunction()
Expr
isFunction in interface Exprpublic ExprFunction getFunction()
Expr
getFunction in interface Expr
public void format(Query query,
IndentedWriter writer)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||