Package com.querydsl.sql
Class UnionImpl<T,Q extends ProjectableSQLQuery<T,Q> & Query<Q>>
java.lang.Object
com.querydsl.sql.UnionImpl<T,Q>
- Type Parameters:
T- result typeQ- concrete query type
- All Implemented Interfaces:
Fetchable<T>,Expression<T>,SubQueryExpression<T>,Union<T>,Serializable
public class UnionImpl<T,Q extends ProjectableSQLQuery<T,Q> & Query<Q>>
extends Object
implements Union<T>
Default implementation of the Union interface
- Author:
- tiwe
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<R,C> R Create an alias for the expressionCreate an alias for the expressionfetch()longfetchOne()getType()groupBy(Expression<?>... o) Defines the grouping/aggregation expressionsDefines the filters for aggregationcom.mysema.commons.lang.CloseableIterator<T>iterate()Get the projection as a typed Iteratorlist()Get the projection as a typed ListorderBy(OrderSpecifier<?>... o) Define the ordering of the query resultsstream()toString()
-
Constructor Details
-
UnionImpl
-
-
Method Details
-
list
Description copied from interface:UnionGet the projection as a typed List -
fetch
-
fetchFirst
- Specified by:
fetchFirstin interfaceFetchable<T>
-
fetchOne
- Specified by:
fetchOnein interfaceFetchable<T>- Throws:
NonUniqueResultException
-
iterate
Description copied from interface:UnionGet the projection as a typed Iterator -
stream
-
fetchResults
- Specified by:
fetchResultsin interfaceFetchable<T>
-
fetchCount
public long fetchCount()- Specified by:
fetchCountin interfaceFetchable<T>
-
groupBy
Description copied from interface:UnionDefines the grouping/aggregation expressions -
having
Description copied from interface:UnionDefines the filters for aggregation -
orderBy
Description copied from interface:UnionDefine the ordering of the query results -
as
Description copied from interface:UnionCreate an alias for the expression -
as
Description copied from interface:UnionCreate an alias for the expression -
toString
-
accept
- Specified by:
acceptin interfaceExpression<T>
-
getType
- Specified by:
getTypein interfaceExpression<T>
-
getMetadata
- Specified by:
getMetadatain interfaceSubQueryExpression<T>
-