Q
- RT
- public class UnionImpl<Q extends Query & Projectable,RT> extends java.lang.Object implements Union<RT>
Constructor and Description |
---|
UnionImpl(Q query,
java.util.List<? extends Expression<?>> projection) |
Modifier and Type | Method and Description |
---|---|
Union<RT> |
groupBy(Expression<?>... o)
Defines the grouping/aggregation expressions
|
Union<RT> |
having(Predicate... o)
Defines the filters for aggregation
|
com.mysema.commons.lang.CloseableIterator<RT> |
iterate()
Get the projection as a typed Iterator
|
java.util.List<RT> |
list()
Get the projection as a typed List
|
Union<RT> |
orderBy(OrderSpecifier<?>... o)
Define the ordering of the query results
|
java.lang.String |
toString() |
public UnionImpl(Q query, java.util.List<? extends Expression<?>> projection)
public java.util.List<RT> list()
Union
public com.mysema.commons.lang.CloseableIterator<RT> iterate()
Union
public Union<RT> groupBy(Expression<?>... o)
Union
public Union<RT> having(Predicate... o)
Union
public Union<RT> orderBy(OrderSpecifier<?>... o)
Union
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2007-2013 Mysema Ltd. All Rights Reserved.