T
- result typepublic class CollQuery<T> extends AbstractCollQuery<T,CollQuery<T>> implements Cloneable
CollQuery
is the default implementation of the FetchableQuery
interface for collectionsMDC_PARAMETERS, MDC_QUERY, queryMixin
Constructor and Description |
---|
CollQuery()
Create a new CollQuery instance
|
CollQuery(CollQueryTemplates templates)
Creates a new CollQuery instance
|
CollQuery(QueryEngine queryEngine)
Create a new CollQuery instance
|
CollQuery(QueryMetadata metadata)
Create a new CollQuery instance
|
CollQuery(QueryMetadata metadata,
QueryEngine queryEngine)
Create a new CollQuery instance
|
Modifier and Type | Method and Description |
---|---|
CollQuery<T> |
clone()
Clone the state of this query to a new CollQuery instance
|
CollQuery<Tuple> |
select(Expression<?>... exprs)
Change the projection of this query
|
<E> CollQuery<E> |
select(Expression<E> expr)
Change the projection of this query
|
bind, fetch, fetchCount, fetchOne, fetchResults, from, getMetadata, getQueryEngine, groupBy, groupBy, having, having, innerJoin, innerJoin, iterate, leftJoin, leftJoin
equals, fetchFirst, transform, uniqueResult
distinct, hashCode, limit, offset, orderBy, orderBy, restrict, set, toString, where, where
finalize, getClass, notify, notifyAll, wait, wait, wait
transform
distinct, limit, offset, orderBy, restrict, set
where
fetchFirst
public CollQuery()
public CollQuery(CollQueryTemplates templates)
templates
- serialization templatespublic CollQuery(QueryEngine queryEngine)
queryEngine
- query engine for query executionpublic CollQuery(QueryMetadata metadata)
metadata
- query metadatapublic CollQuery(QueryMetadata metadata, QueryEngine queryEngine)
metadata
- query metadataqueryEngine
- query engine for query executionpublic <E> CollQuery<E> select(Expression<E> expr)
FetchableQuery
select
in interface FetchableQuery<T,CollQuery<T>>
expr
- new projectionpublic CollQuery<Tuple> select(Expression<?>... exprs)
FetchableQuery
select
in interface FetchableQuery<T,CollQuery<T>>
exprs
- new projectionCopyright © 2007–2016 Querydsl. All rights reserved.