Package com.querydsl.sql
Interface Union<RT>
- Type Parameters:
RT- return type of projection
- All Superinterfaces:
Expression<RT>,Fetchable<RT>,Serializable,SubQueryExpression<RT>
- All Known Implementing Classes:
UnionImpl
Union defines an interface for Union queries- Author:
- tiwe
-
Method Summary
Modifier and TypeMethodDescriptionCreate an alias for the expressionCreate an alias for the expressiongroupBy(Expression<?>... o) Defines the grouping/aggregation expressionsDefines the filters for aggregationcom.mysema.commons.lang.CloseableIterator<RT>iterate()Get the projection as a typed Iteratorlist()Deprecated.orderBy(OrderSpecifier<?>... o) Define the ordering of the query resultsMethods inherited from interface com.querydsl.core.types.Expression
accept, getTypeMethods inherited from interface com.querydsl.core.Fetchable
fetch, fetchCount, fetchFirst, fetchOne, fetchResults, streamMethods inherited from interface com.querydsl.core.types.SubQueryExpression
getMetadata
-
Method Details
-
list
Deprecated.Get the projection as a typed List -
iterate
com.mysema.commons.lang.CloseableIterator<RT> iterate()Get the projection as a typed Iterator -
groupBy
Defines the grouping/aggregation expressions- Parameters:
o- group by- Returns:
- the current object
-
having
Defines the filters for aggregation- Parameters:
o- having conditions- Returns:
- the current object
-
orderBy
Define the ordering of the query results- Parameters:
o- order- Returns:
- the current object
-
as
Create an alias for the expression- Parameters:
alias- alias- Returns:
- this as alias
-
as
Create an alias for the expression- Parameters:
alias- alias- Returns:
- this as alias
-
Fetchable.fetch()