Package org.apache.calcite.linq4j
Interface Lookup<K,V>
- Type Parameters:
K- Key typeV- Value type
- All Superinterfaces:
Enumerable<Grouping<K,,V>> ExtendedEnumerable<Grouping<K,,V>> Iterable<Grouping<K,,V>> Map<K,,Enumerable<V>> RawEnumerable<Grouping<K,V>>
Represents a collection of keys each mapped to one or more values.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescription<TResult> Enumerable<TResult>applyResultSelector(Function2<K, Enumerable<V>, TResult> resultSelector) Applies a transform function to each key and its associated values and returns the results.Methods inherited from interface org.apache.calcite.linq4j.Enumerable
asQueryableMethods inherited from interface org.apache.calcite.linq4j.ExtendedEnumerable
aggregate, aggregate, aggregate, all, any, any, asEnumerable, asofJoin, average, average, average, average, average, average, average, average, average, average, cast, concat, contains, contains, correlateJoin, count, count, defaultIfEmpty, defaultIfEmpty, distinct, distinct, elementAt, elementAtOrDefault, except, except, except, except, first, first, firstOrDefault, firstOrDefault, foreach, groupBy, groupBy, groupBy, groupBy, groupBy, groupBy, groupBy, groupBy, groupBy, groupBy, groupJoin, groupJoin, hashJoin, hashJoin, hashJoin, hashJoin, intersect, intersect, intersect, intersect, into, 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, sortedGroupBy, sum, sum, sum, sum, sum, sum, sum, sum, sum, sum, take, takeWhile, takeWhile, toList, toLookup, toLookup, toLookup, toLookup, toMap, toMap, toMap, toMap, union, union, where, where, zipMethods inherited from interface java.lang.Iterable
forEach, iterator, spliteratorMethods inherited from interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesMethods inherited from interface org.apache.calcite.linq4j.RawEnumerable
enumerator
-
Method Details
-
applyResultSelector
<TResult> Enumerable<TResult> applyResultSelector(Function2<K, Enumerable<V>, TResult> resultSelector) Applies a transform function to each key and its associated values and returns the results.- Type Parameters:
TResult- Result type- Parameters:
resultSelector- Result selector- Returns:
- Enumerable over results
-