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 Object
implements Union<RT>


Constructor Summary
AbstractSQLQuery.UnionBuilder()
           
 
Method Summary
 com.mysema.commons.lang.CloseableIterator<RT> iterate()
          Get the projection as a typed Iterator
 List<RT> list()
          Get the projection as a typed List
 AbstractSQLQuery.UnionBuilder<RT> orderBy(OrderSpecifier<?>... o)
          Define the ordering of the query results
 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 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 String toString()
Overrides:
toString in class Object


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