| Package | Description |
|---|---|
| org.apache.calcite.interpreter |
Provides an implementation of relational expressions using an interpreter.
|
| org.apache.calcite.runtime |
Utilities required at runtime.
|
| Modifier and Type | Field and Description |
|---|---|
private Map<Row,AggregateNode.AccumulatorList> |
AggregateNode.Grouping.accumulators |
private Enumerator<Row> |
Interpreter.EnumeratorSource.enumerator |
private Iterator<Row> |
Interpreter.ListSource.iterator |
(package private) ArrayDeque<Row> |
Interpreter.ListSink.list |
private ArrayDeque<Row> |
Interpreter.ListSource.list |
private List<ArrayDeque<Row>> |
Interpreter.DuplicatingSink.queues |
(package private) Enumerable<Row> |
Interpreter.NodeInfo.rowEnumerable |
private com.google.common.collect.ImmutableList<Row> |
ValuesNode.rows |
| Modifier and Type | Method and Description |
|---|---|
static Row |
Row.asCopy(Object... values)
Creates a Row.
|
Row |
Row.RowBuilder.build()
Return a Row object
|
static Row |
Row.of(Object... values)
Creates a Row with variable number of values.
|
static Row |
Row.of(Object value0)
Creates a Row with one column value.
|
static Row |
Row.of(Object value0,
Object value1)
Creates a Row with two column values.
|
static Row |
Row.of(Object value0,
Object value1,
Object value2)
Creates a Row with three column values.
|
Row |
Source.receive()
Reads a row.
|
Row |
Interpreter.EnumeratorSource.receive() |
Row |
Interpreter.ListSource.receive() |
| Modifier and Type | Method and Description |
|---|---|
private Comparator<Row> |
SortNode.comparator() |
private Comparator<Row> |
SortNode.comparator(RelFieldCollation fieldCollation) |
private com.google.common.collect.ImmutableList<Row> |
ValuesNode.createRows(Compiler compiler,
com.google.common.collect.ImmutableList<com.google.common.collect.ImmutableList<RexLiteral>> tuples) |
| Modifier and Type | Method and Description |
|---|---|
void |
AggregateNode.CountAccumulator.send(Row row) |
void |
AggregateNode.ScalarAccumulator.send(Row row) |
void |
AggregateNode.Grouping.send(Row row) |
void |
AggregateNode.AccumulatorList.send(Row row) |
void |
AggregateNode.Accumulator.send(Row row) |
void |
AggregateNode.UdaAccumulator.send(Row row) |
void |
AggregateNode.FilterAccumulator.send(Row row) |
void |
Interpreter.ListSink.send(Row row) |
void |
Interpreter.DuplicatingSink.send(Row row) |
void |
Sink.send(Row row) |
| Modifier and Type | Method and Description |
|---|---|
private static TableScanNode |
TableScanNode.createEnumerable(Compiler compiler,
TableScan rel,
Enumerable<Row> enumerable,
ImmutableIntList acceptedProjects,
List<RexNode> rejectedFilters,
ImmutableIntList rejectedProjects) |
void |
Compiler.enumerable(RelNode rel,
Enumerable<Row> rowEnumerable)
Tells the interpreter that a given relational expression wishes to
give its output as an enumerable.
|
void |
Interpreter.CompilerImpl.enumerable(RelNode rel,
Enumerable<Row> rowEnumerable) |
void |
Interpreter.ListSink.setSourceEnumerable(Enumerable<Row> enumerable) |
void |
Interpreter.DuplicatingSink.setSourceEnumerable(Enumerable<Row> enumerable) |
void |
Sink.setSourceEnumerable(Enumerable<Row> enumerable)
Deprecated.
|
| Constructor and Description |
|---|
DuplicatingSink(List<ArrayDeque<Row>> queues) |
EnumeratorSource(Enumerator<Row> enumerator) |
ListSink(ArrayDeque<Row> list) |
ListSource(ArrayDeque<Row> list) |
NodeInfo(RelNode rel,
Enumerable<Row> rowEnumerable) |
TableScanNode(Compiler compiler,
TableScan rel,
Enumerable<Row> enumerable) |
| Modifier and Type | Field and Description |
|---|---|
private static Function1<Object[],Row> |
Enumerables.ARRAY_TO_ROW |
| Modifier and Type | Method and Description |
|---|---|
static Enumerable<Row> |
Enumerables.toRow(Enumerable<Object[]> enumerable)
|
static com.google.common.base.Supplier<Enumerable<Row>> |
Enumerables.toRow(com.google.common.base.Supplier<Enumerable<Object[]>> supplier)
Converts a supplier of an
Enumerable over object arrays into a
supplier of an Enumerable over Row objects. |
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.