Package org.apache.cayenne.ejbql
Interface EJBQLCompiledExpression
public interface EJBQLCompiledExpression
Represents an EJB QL expression "compiled" in the context of a certain mapping.
- Since:
- 3.0
- 
Method SummaryModifier and Type Method Description ClassDescriptorgetEntityDescriptor(String identifier)Returns a ClassDescriptor for the id variable.EJBQLExpressiongetExpression()Returns a tree representation of an EJBQL expression.List<DbRelationship>getIncomingRelationships(String identifier)Returns a collection of relationships that joins identifier with a parent entity.PrefetchTreeNodegetPrefetchTree()Returns prefetched columns tree for fetch joins.SQLResultgetResult()Returns a mapping of the result set columns, or null if this is not a select expression.ClassDescriptorgetRootDescriptor()Returns a descriptor of the root of this expression such as entity being fetched or updated.StringgetSource()Returns EJB QL source of the compiled expression if available.
- 
Method Details- 
getExpressionEJBQLExpression getExpression()Returns a tree representation of an EJBQL expression.
- 
getRootDescriptorClassDescriptor getRootDescriptor()Returns a descriptor of the root of this expression such as entity being fetched or updated.
- 
getEntityDescriptorReturns a ClassDescriptor for the id variable.
- 
getIncomingRelationshipsReturns a collection of relationships that joins identifier with a parent entity. Returns null if the identifier corresponds to one of the query roots.
- 
getSourceString getSource()Returns EJB QL source of the compiled expression if available.
- 
getResultSQLResult getResult()Returns a mapping of the result set columns, or null if this is not a select expression.
- 
getPrefetchTreePrefetchTreeNode getPrefetchTree()Returns prefetched columns tree for fetch joins.
 
-