Package com.twilio.kudu.sql
Class CalciteKuduEnumerable
- java.lang.Object
-
- org.apache.calcite.linq4j.DefaultEnumerable<T>
-
- org.apache.calcite.linq4j.AbstractEnumerable<CalciteRow>
-
- com.twilio.kudu.sql.CalciteKuduEnumerable
-
- All Implemented Interfaces:
Iterable<CalciteRow>
,org.apache.calcite.linq4j.Enumerable<CalciteRow>
,org.apache.calcite.linq4j.ExtendedEnumerable<CalciteRow>
,org.apache.calcite.linq4j.ExtendedOrderedEnumerable<CalciteRow>
,org.apache.calcite.linq4j.OrderedEnumerable<CalciteRow>
,org.apache.calcite.linq4j.RawEnumerable<CalciteRow>
public final class CalciteKuduEnumerable extends org.apache.calcite.linq4j.AbstractEnumerable<CalciteRow>
Calcite implementation layer that represents a result set of a scan.
-
-
Constructor Summary
Constructors Constructor Description CalciteKuduEnumerable(BlockingQueue<CalciteScannerMessage<CalciteRow>> rowResults, AtomicBoolean shouldStop)
Create Enumerable with a Queue of results, a shared integer for scans that have finished and a boolean switch indicating the scan should complete.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.calcite.linq4j.Enumerator<CalciteRow>
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, except, except, first, first, firstOrDefault, firstOrDefault, foreach, getThis, getThisOrdered, 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, thenBy, thenBy, thenByDescending, thenByDescending, toList, toLookup, toLookup, toLookup, toLookup, toMap, toMap, toMap, toMap, union, union, where, where, zip
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
CalciteKuduEnumerable
public CalciteKuduEnumerable(BlockingQueue<CalciteScannerMessage<CalciteRow>> rowResults, AtomicBoolean shouldStop)
Create Enumerable with a Queue of results, a shared integer for scans that have finished and a boolean switch indicating the scan should complete.- Parameters:
rowResults
- shared queue to consume from for all the resultsshouldStop
- shared boolean that indicates termination of all scans.
-
-
Method Detail
-
enumerator
public org.apache.calcite.linq4j.Enumerator<CalciteRow> enumerator()
-
-