Package org.apache.calcite.runtime
Class Enumerables
java.lang.Object
org.apache.calcite.runtime.Enumerables
Utilities for processing 
Enumerable
 collections.
 This class is a place to put things not yet added to linq4j. Methods are subject to removal without notice.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic interfaceGiven a match (a list of rows, and their states) produces a list of rows to be output.
- 
Method SummaryModifier and TypeMethodDescriptionstatic <E,TKey, TResult> 
 Enumerable<TResult>match(Enumerable<E> enumerable, Function1<E, TKey> keySelector, Matcher<E> matcher, Enumerables.Emitter<E, TResult> emitter, int history, int future) static <E> Enumerable<E>slice0(Enumerable<E[]> enumerable) Converts an enumerable over singleton arrays into the enumerable of their first elements.static com.google.common.base.Supplier<Enumerable<Row>>toRow(com.google.common.base.Supplier<Enumerable<@Nullable Object[]>> supplier) Deprecated.static Supplier<Enumerable<Row>>toRow(Supplier<Enumerable<@Nullable Object[]>> supplier) Converts a supplier of anEnumerableover object arrays into a supplier of anEnumerableoverRowobjects.static Enumerable<Row>toRow(Enumerable<@Nullable Object[]> enumerable) 
- 
Method Details- 
slice0Converts an enumerable over singleton arrays into the enumerable of their first elements.
- 
toRow
- 
toRowConverts a supplier of anEnumerableover object arrays into a supplier of anEnumerableoverRowobjects.
- 
toRow@Deprecated public static com.google.common.base.Supplier<Enumerable<Row>> toRow(com.google.common.base.Supplier<Enumerable<@Nullable Object[]>> supplier) Deprecated.
- 
matchpublic static <E,TKey, Enumerable<TResult> matchTResult> (Enumerable<E> enumerable, Function1<E, TKey> keySelector, Matcher<E> matcher, Enumerables.Emitter<E, TResult> emitter, int history, int future) 
 
-