com.mysema.query.sql
Class AbstractSQLQuery.UnionBuilder<RT>

java.lang.Object
  extended by com.mysema.query.sql.AbstractSQLQuery.UnionBuilder<RT>
All Implemented Interfaces:
Union<RT>
Enclosing class:
AbstractSQLQuery<Q extends AbstractSQLQuery<Q>>

public class AbstractSQLQuery.UnionBuilder<RT>
extends java.lang.Object
implements Union<RT>


Constructor Summary
AbstractSQLQuery.UnionBuilder()
           
 
Method Summary
 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
 AbstractSQLQuery.UnionBuilder<RT> orderBy(OrderSpecifier<?>... o)
          Define the ordering of the query results
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractSQLQuery.UnionBuilder

public AbstractSQLQuery.UnionBuilder()
Method Detail

list

public java.util.List<RT> list()
Description copied from interface: Union
Get the projection as a typed List

Specified by:
list in interface Union<RT>
Returns:

iterate

public com.mysema.commons.lang.CloseableIterator<RT> iterate()
Description copied from interface: Union
Get the projection as a typed Iterator

Specified by:
iterate in interface Union<RT>
Returns:

orderBy

public AbstractSQLQuery.UnionBuilder<RT> orderBy(OrderSpecifier<?>... o)
Description copied from interface: Union
Define the ordering of the query results

Specified by:
orderBy in interface Union<RT>
Returns:

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2007-2010 Mysema Ltd. All Rights Reserved.