Package org.apache.jena.sparql.expr
Class E_NotExists
- java.lang.Object
-
- org.apache.jena.sparql.expr.ExprNode
-
- org.apache.jena.sparql.expr.ExprFunction
-
- org.apache.jena.sparql.expr.ExprFunctionOp
-
- org.apache.jena.sparql.expr.E_NotExists
-
- All Implemented Interfaces:
Expr
public class E_NotExists extends ExprFunctionOp
-
-
Field Summary
-
Fields inherited from interface org.apache.jena.sparql.expr.Expr
CMP_EQUAL, CMP_GREATER, CMP_INDETERMINATE, CMP_LESS, CMP_UNEQUAL, NONE
-
-
Constructor Summary
Constructors Constructor Description E_NotExists(Op op)E_NotExists(Element elt)E_NotExists(Element el, Op op)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExprapplyNodeTransform(NodeTransform nodeTransform)Rewrite, applying a node->node transformationExprFunctionOpcopy(ExprList args, Op x)ExprFunctionOpcopy(ExprList args, Element elPattern)ExprcopySubstitute(Binding binding)Deep copy with substitutionbooleanequals(Expr other, boolean bySyntax)General equality operation - consider this to be 'protected'inthashCode()Exprare used in both syntax and algebra.-
Methods inherited from class org.apache.jena.sparql.expr.ExprFunctionOp
apply, eval, getArg, getElement, getGraphPattern, isGraphPattern, numArgs, visit
-
Methods inherited from class org.apache.jena.sparql.expr.ExprFunction
getArgs, getFunction, getFunctionIRI, getFunctionName, getFunctionPrintName, getFunctionSymbol, getOpName, isFunction
-
Methods inherited from class org.apache.jena.sparql.expr.ExprNode
asVar, deepCopy, equals, equalsBySyntax, getConstant, getExpr, getExprVar, getVarName, getVarsMentioned, isConstant, isExpr, isSatisfied, isVariable, toString
-
-
-
-
Method Detail
-
copySubstitute
public Expr copySubstitute(Binding binding)
Description copied from interface:ExprDeep copy with substitution- Specified by:
copySubstitutein interfaceExpr- Specified by:
copySubstitutein classExprNode
-
applyNodeTransform
public Expr applyNodeTransform(NodeTransform nodeTransform)
Description copied from interface:ExprRewrite, applying a node->node transformation- Specified by:
applyNodeTransformin interfaceExpr- Specified by:
applyNodeTransformin classExprNode
-
hashCode
public int hashCode()
Description copied from interface:ExprExprare used in both syntax and algebra. There is no syntax to algebra translation step because the parser uses operator precedence to build the right evaluation structure directly.The exceptions to this are the
NOT EXISTSandEXISTSexpressions which involve a query pattern. As a result there are different ways in syntax to produce the same algebra form.Two
Exprare considered equal if they are equal as algebra expressions.hashCodeandequalsmust implement that.There is also
equalsBySyntax. Because two different syntax forms can yield the same algebra, but two different algebra forms must be different syntax,equalsBySyntaximpliesequals(by alegbra).Hence, different
hashCode=> notequalsBySyntax.- Specified by:
hashCodein interfaceExpr- Overrides:
hashCodein classExprFunction
-
equals
public boolean equals(Expr other, boolean bySyntax)
Description copied from interface:ExprGeneral equality operation - consider this to be 'protected'- Specified by:
equalsin interfaceExpr- Overrides:
equalsin classExprFunction
-
copy
public ExprFunctionOp copy(ExprList args, Op x)
- Specified by:
copyin classExprFunctionOp
-
copy
public ExprFunctionOp copy(ExprList args, Element elPattern)
- Specified by:
copyin classExprFunctionOp
-
-