Class NotExistsExp
java.lang.Object
org.apache.cayenne.exp.Expression
org.apache.cayenne.exp.ConditionExp
org.apache.cayenne.exp.NotExistsExp
- All Implemented Interfaces:
XMLSerializable
- Since:
- 5.0
-
Field Summary
Fields inherited from class Expression
operands, PRUNED_NODE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidappendAsString(Appendable out) Appends own content as a String to the provided Appendable: the operands separated by the operator.protected ObjectEvaluates itself with object, pushing result on the stack.protected BooleanevaluateSubNode(Object o, Object[] evaluatedChildren) exists()Returns expression that will be dynamically resolved to proper subqueries based on a relationships used (if no relationships are present in the original expression no subqueries will be used).protected StringgetExpressionOperator(int index) Returns the operator printed between the operands, before the operand at the given index.protected intprotected booleanisValidParent(Expression parent) Whether this node can be an operand of the given node.Returns expression that will be dynamically resolved to proper subqueries based on a relationships used (if no relationships are present in the original expression no subqueries will be used).Creates a copy of this expression node, without copying children.Methods inherited from class Expression
andExp, andExp, appendOperandAsString, deepCopy, encodeAsXML, equals, evaluate, evaluateOperand, expName, filter, filterObjects, first, flattenTree, getOperand, getOperandCount, getPathAliases, hashCode, match, notExp, orExp, orExp, params, params, paramsArray, parenthesizeAsOperand, pruneNodeForPrunedChild, setOperand, setOperands, toString, transform, transformExpression, traverse, traverse
-
Constructor Details
-
NotExistsExp
-
-
Method Details
-
getRequiredChildrenCount
protected int getRequiredChildrenCount()- Specified by:
getRequiredChildrenCountin classConditionExp
-
evaluateNode
Description copied from class:ExpressionEvaluates itself with object, pushing result on the stack.- Overrides:
evaluateNodein classConditionExp- Throws:
Exception
-
evaluateSubNode
- Specified by:
evaluateSubNodein classConditionExp- Throws:
Exception
-
appendAsString
Description copied from class:ExpressionAppends own content as a String to the provided Appendable: the operands separated by the operator.- Overrides:
appendAsStringin classExpression- Throws:
IOException
-
getExpressionOperator
Description copied from class:ExpressionReturns the operator printed between the operands, before the operand at the given index.- Specified by:
getExpressionOperatorin classExpression
-
isValidParent
Description copied from class:ExpressionWhether this node can be an operand of the given node. Called by the parent when the operand is set, to check what the grammar can't: e.g. a condition can only be an operand of a condition aggregate. By default any parent is valid.- Overrides:
isValidParentin classConditionExp
-
shallowCopy
Description copied from class:ExpressionCreates a copy of this expression node, without copying children.- Specified by:
shallowCopyin classExpression
-
exists
Description copied from class:ConditionExpReturns expression that will be dynamically resolved to proper subqueries based on a relationships used (if no relationships are present in the original expression no subqueries will be used).- Overrides:
existsin classConditionExp- Returns:
- exists expression
- See Also:
-
notExists
Description copied from class:ConditionExpReturns expression that will be dynamically resolved to proper subqueries based on a relationships used (if no relationships are present in the original expression no subqueries will be used).- Overrides:
notExistsin classConditionExp- Returns:
- not exists expression
- See Also:
-