Package org.apache.calcite.linq4j
Class EnumerableDefaults.LookupResultEnumerable<TResult,TKey,TAccumulate>
- java.lang.Object
-
- org.apache.calcite.linq4j.DefaultEnumerable<T>
-
- org.apache.calcite.linq4j.AbstractEnumerable2<TResult>
-
- org.apache.calcite.linq4j.EnumerableDefaults.LookupResultEnumerable<TResult,TKey,TAccumulate>
-
- Type Parameters:
TResult- result typeTKey- key typeTAccumulate- accumulator type
- All Implemented Interfaces:
Iterable<TResult>,Enumerable<TResult>,ExtendedEnumerable<TResult>,ExtendedOrderedEnumerable<TResult>,OrderedEnumerable<TResult>,RawEnumerable<TResult>
- Enclosing class:
- EnumerableDefaults
private static class EnumerableDefaults.LookupResultEnumerable<TResult,TKey,TAccumulate> extends AbstractEnumerable2<TResult>
Reads a populated map, applying a selector function.
-
-
Field Summary
Fields Modifier and Type Field Description private Map<TKey,TAccumulate>mapprivate Function2<TKey,TAccumulate,TResult>resultSelector
-
Constructor Summary
Constructors Constructor Description LookupResultEnumerable(Map<TKey,TAccumulate> map, Function2<TKey,TAccumulate,TResult> resultSelector)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterator<TResult>iterator()-
Methods inherited from class org.apache.calcite.linq4j.AbstractEnumerable2
enumerator
-
Methods inherited from class org.apache.calcite.linq4j.DefaultEnumerable
aggregate, aggregate, aggregate, all, any, any, asEnumerable, asOrderedQueryable, asQueryable, average, average, average, average, average, average, average, average, average, average, cast, concat, contains, contains, correlateJoin, count, count, createOrderedEnumerable, defaultIfEmpty, defaultIfEmpty, distinct, distinct, elementAt, elementAtOrDefault, except, except, first, first, firstOrDefault, firstOrDefault, foreach, getThis, getThisOrdered, groupBy, groupBy, groupBy, groupBy, groupBy, groupBy, groupBy, groupBy, groupBy, groupBy, groupJoin, groupJoin, intersect, intersect, into, join, join, join, last, last, lastOrDefault, lastOrDefault, longCount, longCount, max, max, max, max, max, max, max, max, max, max, max, max, min, min, min, min, min, min, min, min, min, min, min, min, ofType, orderBy, orderBy, orderByDescending, orderByDescending, removeAll, reverse, select, select, selectMany, selectMany, selectMany, selectMany, sequenceEqual, sequenceEqual, single, single, singleOrDefault, singleOrDefault, skip, skipWhile, skipWhile, sum, sum, sum, sum, sum, sum, sum, sum, sum, sum, take, takeWhile, takeWhile, thenBy, thenBy, thenByDescending, thenByDescending, toList, toLookup, toLookup, toLookup, toLookup, toMap, toMap, toMap, toMap, union, union, where, where, zip
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Field Detail
-
map
private final Map<TKey,TAccumulate> map
-
resultSelector
private final Function2<TKey,TAccumulate,TResult> resultSelector
-
-
Constructor Detail
-
LookupResultEnumerable
LookupResultEnumerable(Map<TKey,TAccumulate> map, Function2<TKey,TAccumulate,TResult> resultSelector)
-
-