Package org.apache.calcite.interpreter
Class Interpreter
java.lang.Object
org.apache.calcite.linq4j.DefaultEnumerable<T>
org.apache.calcite.linq4j.AbstractEnumerable<@Nullable Object[]>
org.apache.calcite.interpreter.Interpreter
- All Implemented Interfaces:
AutoCloseable
,Iterable<Object[]>
,Enumerable<Object[]>
,ExtendedEnumerable<Object[]>
,ExtendedOrderedEnumerable<Object[]>
,OrderedEnumerable<Object[]>
,RawEnumerable<Object[]>
Interpreter.
Contains the context for interpreting relational expressions. In particular it holds working state while the data flow graph is being assembled.
-
Constructor Summary
ConstructorDescriptionInterpreter
(DataContext dataContext, RelNode rootRel) Creates an Interpreter. -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Enumerator<@Nullable Object[]>
Returns an enumerator that iterates through a collection.Methods inherited from class org.apache.calcite.linq4j.AbstractEnumerable
iterator
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 Details
-
Interpreter
Creates an Interpreter.
-
-
Method Details
-
enumerator
Description copied from interface:RawEnumerable
Returns an enumerator that iterates through a collection.- Specified by:
enumerator
in interfaceRawEnumerable<Object[]>
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-