# Uses of Class
org.apache.cayenne.query.ObjectSelect

Packages that use ObjectSelect
Package
Description
org.apache.cayenne.exp.property
Property API
org.apache.cayenne.map
Contains O/R mapping classes that store relational database metadata information and map it to Java classes.
org.apache.cayenne.query
Defines standard queries supported by Cayenne and extension mechanism to create custom queries.

- ## Uses of ObjectSelect in org.apache.cayenne.exp.property

  Methods in org.apache.cayenne.exp.property that return ObjectSelect
  Modifier and Type
  Method
  Description
  `ObjectSelect<E>`
  SelfProperty.`query()`
  `ObjectSelect<E>`
  SelfProperty.`query(Expression where)`

- ## Uses of ObjectSelect in org.apache.cayenne.map

  Methods in org.apache.cayenne.map that return ObjectSelect
  Modifier and Type
  Method
  Description
  `ObjectSelect<?>`
  SelectQueryDescriptor.`buildQuery()`

- ## Uses of ObjectSelect in org.apache.cayenne.query

  Subclasses of ObjectSelect in org.apache.cayenne.query
  Modifier and Type
  Class
  Description
  `class`
  `PrefetchSelectQuery<T>`
  A SelectQuery to perform a prefetch based on another query.
  Subclasses with type arguments of type ObjectSelect in org.apache.cayenne.query
  Modifier and Type
  Class
  Description
  `class`
  `ObjectSelect<T>`
  A selecting query providing chainable API.
  Methods in org.apache.cayenne.query that return ObjectSelect
  Modifier and Type
  Method
  Description
  `static ObjectSelect<DataRow>`
  ObjectSelect.`dataRowQuery(Class<?> entityType)`
  Creates a ObjectSelect that fetches data for an `ObjEntity` determined from a provided class.
  `static ObjectSelect<DataRow>`
  ObjectSelect.`dataRowQuery(Class<?> entityType, Expression expression)`
  Creates a ObjectSelect that fetches data for an `ObjEntity` determined from a provided class and uses provided expression for its qualifier.
  `static ObjectSelect<DataRow>`
  ObjectSelect.`dbQuery(String dbEntityName)`
  Creates a ObjectSelect that fetches DataRows for a `DbEntity` determined from provided "dbEntityName".
  `static ObjectSelect<DataRow>`
  ObjectSelect.`dbQuery(String dbEntityName, Expression expression)`
  Creates a ObjectSelect that fetches DataRows for a `DbEntity` determined from provided "dbEntityName" and uses provided expression for its qualifier.
  `ObjectSelect<T>`
  ObjectSelect.`distinct()`
  `ObjectSelect<DataRow>`
  ObjectSelect.`fetchDataRows()`
  Forces query to fetch DataRows.
  `ObjectSelect<T>`
  ObjectSelect.`having(String expressionString, Object... parameters)`
  Appends a having qualifier expression of this query, using provided expression String and an array of position parameters.
  `ObjectSelect<T>`
  ObjectSelect.`having(Expression expression)`
  Appends a having qualifier expression of this query.
  `static <T> ObjectSelect<T>`
  ObjectSelect.`query(Class<T> entityType)`
  Creates a ObjectSelect that selects objects of a given persistent class.
  `static <T> ObjectSelect<T>`
  ObjectSelect.`query(Class<T> resultType, String entityName)`
  Creates a ObjectSelect that fetches data for `ObjEntity` determined from provided "entityName", but fetches the result of a provided type.
  `static <T> ObjectSelect<T>`
  ObjectSelect.`query(Class<T> entityType, Expression expression)`
  Creates a ObjectSelect that selects objects of a given persistent class and uses provided expression for its qualifier.
  `static <T> ObjectSelect<T>`
  ObjectSelect.`query(Class<T> entityType, Expression expression, List<Ordering> orderings)`
  Creates a ObjectSelect that selects objects of a given persistent class and uses provided expression for its qualifier.
  Constructors in org.apache.cayenne.query with parameters of type ObjectSelect
  Modifier
  Constructor
  Description
  `protected`
  `ColumnSelect(ObjectSelect<T> select)`
  Copy constructor to convert ObjectSelect to ColumnSelect