com.mysema.query.collections
Class MultiSourceIterable<T>
java.lang.Object
com.mysema.query.collections.AbstractIterable<Object[],T>
com.mysema.query.collections.MultiSourceIterable<T>
- All Implemented Interfaces:
- Iterable<T>
public class MultiSourceIterable<T>
- extends AbstractIterable<Object[],T>
- Author:
- tiwe
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultiSourceIterable
public MultiSourceIterable(QueryMetadata metadata,
ExprEvaluatorFactory evaluatorFactory,
IteratorFactory iteratorFactory,
Map<Expr<?>,Iterable<?>> iterables,
boolean forCount)
initialIterator
protected Iterator<Object[]> initialIterator()
- Description copied from class:
AbstractIterable
- creates the initial Iterator providing the filtered source content
- Specified by:
initialIterator
in class AbstractIterable<Object[],T>
- Returns:
orderedIterator
protected Iterator<Object[]> orderedIterator(Iterator<Object[]> it)
- Description copied from class:
AbstractIterable
- reorders the filtered source Iterator based on the ordering criteria of the
QueryMetadata
- Specified by:
orderedIterator
in class AbstractIterable<Object[],T>
- Returns:
projectedIterator
protected Iterator<T> projectedIterator(Iterator<Object[]> it)
- Description copied from class:
AbstractIterable
- creates the projection based on the given Iterator and the projection definition of the
QueryMetadata
- Specified by:
projectedIterator
in class AbstractIterable<Object[],T>
- Returns:
Copyright © 2007-2010 Mysema Ltd. All Rights Reserved.