Class DbPathExp
java.lang.Object
org.apache.cayenne.exp.Expression
org.apache.cayenne.exp.PathExp
org.apache.cayenne.exp.DbPathExp
- All Implemented Interfaces:
XMLSerializable
Path expression traversing DB relationships and attributes.
- Since:
- 5.0
-
Field Summary
FieldsFields inherited from class PathExp
path, pathAliasesFields 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 ObjectevaluateEntityNode(Entity<?, ?, ?> entity) Helper method to evaluate path expression with Cayenne Entity.protected ObjectEvaluates itself with object, pushing result on the stack.Creates a copy of this expression node, without copying children.protected Map<?, ?> Methods inherited from class PathExp
exists, getExpandedPath, getExpressionOperator, getOperand, getOperandCount, getPath, getPathAliases, hashCode, notExists, parenthesizeAsOperand, setOperand, setPath, setPath, setPathAliasesMethods inherited from class Expression
andExp, andExp, appendOperandAsString, deepCopy, encodeAsXML, equals, evaluate, evaluateOperand, expName, filter, filterObjects, first, flattenTree, isValidParent, match, notExp, orExp, orExp, params, params, paramsArray, pruneNodeForPrunedChild, setOperands, toString, transform, transformExpression, traverse, traverse
-
Field Details
-
DB_PREFIX
- See Also:
-
-
Constructor Details
-
DbPathExp
-
-
Method Details
-
evaluateNode
Description copied from class:ExpressionEvaluates itself with object, pushing result on the stack.- Specified by:
evaluateNodein classExpression- Throws:
Exception
-
toMap
-
shallowCopy
Creates a copy of this expression node, without copying children.- Specified by:
shallowCopyin classExpression
-
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
-
evaluateEntityNode
Helper method to evaluate path expression with Cayenne Entity.- Overrides:
evaluateEntityNodein classPathExp
-