Package org.apache.calcite.linq4j
Interface Enumerable<T>
- Type Parameters:
T
- Element type
- All Superinterfaces:
ExtendedEnumerable<T>
,Iterable<T>
,RawEnumerable<T>
- All Known Subinterfaces:
ExtendedOrderedEnumerable<T>
,ExtendedOrderedQueryable<T>
,Grouping<K,
,V> Lookup<K,
,V> OrderedEnumerable<T>
,OrderedQueryable<T>
,Queryable<T>
,QueryableDefaults.Replayable<T>
,RawQueryable<T>
- All Known Implementing Classes:
AbstractEnumerable
,AbstractEnumerable2
,AbstractQueryable
,AbstractTableQueryable
,BaseQueryable
,CassandraTable.CassandraQueryable
,DefaultEnumerable
,ElasticsearchTable.ElasticsearchQueryable
,GeodeTable.GeodeQueryable
,InnodbTable.InnodbQueryable
,Interpreter
,MemoryEnumerable
,MongoTable.MongoQueryable
,QueryableDefaults.NonLeafReplayableQueryable
,QueryableDefaults.ReplayableQueryable
,QueryProviderImpl.QueryableImpl
,ResultSetEnumerable
,SpatialTypeFunctions.GridEnumerable
,SplunkQuery
@Covariant(0)
public interface Enumerable<T>
extends RawEnumerable<T>, Iterable<T>, ExtendedEnumerable<T>
Exposes the enumerator, which supports a simple iteration over a collection.
Analogous to LINQ's System.Collections.IEnumerable (both generic and non-generic variants).
Also implements Iterable
, to enable use in Java foreach loops.
-
Method Summary
Modifier and TypeMethodDescriptionConverts this Enumerable to a Queryable.Methods 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, zip
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
Methods inherited from interface org.apache.calcite.linq4j.RawEnumerable
enumerator
-
Method Details
-
asQueryable
Converts this Enumerable to a Queryable.- Specified by:
asQueryable
in interfaceExtendedEnumerable<T>
- Returns:
- A queryable
- See Also:
-