java.lang.Object
org.objectstyle.cayenne.query.AbstractQuery
org.objectstyle.cayenne.query.QualifiedQuery
org.objectstyle.cayenne.query.SelectQuery
org.objectstyle.cayenne.query.PrefetchSelectQuery
- All Implemented Interfaces:
- GenericSelectQuery, Query
- public class PrefetchSelectQuery
- extends SelectQuery
| Methods inherited from class org.objectstyle.cayenne.query.SelectQuery |
addCustomDbAttribute, addCustomDbAttributes, addOrdering, addOrdering, addOrdering, addOrderings, addPrefetch, addPrefetches, andParentQualifier, clearOrderings, clearPrefetches, getCustomDbAttributes, getFetchLimit, getOrderings, getPageSize, getParentObjEntityName, getParentQualifier, getPrefetches, getQueryType, isDistinct, isFetchingCustomAttributes, isFetchingDataRows, isQualifiedOnParent, orParentQualifier, queryWithParameters, queryWithParameters, setDistinct, setFetchingDataRows, setFetchLimit, setPageSize, setParentObjEntityName, setParentQualifier |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
rootQuery
protected SelectQuery rootQuery
- The query that provides the "root" objects of the prefetch
prefetchPath
protected java.lang.String prefetchPath
- The relationship path from root objects to the objects being prefetched
singleStepToManyRelationship
protected org.objectstyle.cayenne.map.ObjRelationship singleStepToManyRelationship
PrefetchSelectQuery
public PrefetchSelectQuery()
- Constructor for PrefetchSelectQuery.
PrefetchSelectQuery
public PrefetchSelectQuery(org.objectstyle.cayenne.map.ObjEntity root)
- Constructor for PrefetchSelectQuery.
PrefetchSelectQuery
public PrefetchSelectQuery(org.objectstyle.cayenne.map.ObjEntity root,
org.objectstyle.cayenne.exp.Expression qualifier)
- Constructor for PrefetchSelectQuery.
PrefetchSelectQuery
public PrefetchSelectQuery(java.lang.Class rootClass)
- Constructor for PrefetchSelectQuery.
PrefetchSelectQuery
public PrefetchSelectQuery(java.lang.Class rootClass,
org.objectstyle.cayenne.exp.Expression qualifier)
- Constructor for PrefetchSelectQuery.
PrefetchSelectQuery
public PrefetchSelectQuery(java.lang.String objEntityName)
- Constructor for PrefetchSelectQuery.
PrefetchSelectQuery
public PrefetchSelectQuery(java.lang.String objEntityName,
org.objectstyle.cayenne.exp.Expression qualifier)
- Constructor for PrefetchSelectQuery.
getPrefetchPath
public java.lang.String getPrefetchPath()
- Returns the prefetchPath.
setPrefetchPath
public void setPrefetchPath(java.lang.String prefetchPath)
- Sets the prefetchPath.
getRootQuery
public SelectQuery getRootQuery()
setRootQuery
public void setRootQuery(SelectQuery rootQuery)
- Sets the rootQuery.
getSingleStepToManyRelationship
public org.objectstyle.cayenne.map.ObjRelationship getSingleStepToManyRelationship()
setSingleStepToManyRelationship
public void setSingleStepToManyRelationship(org.objectstyle.cayenne.map.ObjRelationship singleStepToManyRelationship)
- Sets the singleStepToManyRelationship.