| Package | Description |
|---|---|
| org.apache.calcite.adapter.enumerable |
Query optimizer rules for Java calling convention.
|
| org.apache.calcite.interpreter |
Provides an implementation of relational expressions using an interpreter.
|
| org.apache.calcite.rel.core |
Defines core relational expressions.
|
| org.apache.calcite.rel.logical |
Defines logical relational expressions.
|
| org.apache.calcite.rel.metadata |
Defines metadata interfaces and utilities for relational
expressions.
|
| org.apache.calcite.rel.mutable |
Defines mutable relational expressions.
|
| Modifier and Type | Method and Description |
|---|---|
private Pair<Expression,Expression> |
EnumerableWindow.getPartitionIterator(BlockBuilder builder,
Expression source_,
PhysType inputPhysType,
Window.Group group,
Expression comparator_) |
private Pair<Expression,Expression> |
EnumerableWindow.getRowCollationKey(BlockBuilder builder,
PhysType inputPhysType,
Window.Group group,
int windowIdx) |
private Expression |
EnumerableWindow.translateBound(RexToLixTranslator translator,
ParameterExpression i_,
Expression row_,
Expression min_,
Expression max_,
Expression rows_,
Window.Group group,
boolean lower,
PhysType physType,
Expression rowComparator,
Expression keySelector,
Expression keyComparator) |
| Constructor and Description |
|---|
EnumerableWindow(RelOptCluster cluster,
RelTraitSet traits,
RelNode child,
List<RexLiteral> constants,
RelDataType rowType,
List<Window.Group> groups)
Creates an EnumerableWindowRel.
|
| Constructor and Description |
|---|
BindableWindow(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode input,
List<RexLiteral> constants,
RelDataType rowType,
List<Window.Group> groups)
Creates an BindableWindowRel.
|
| Modifier and Type | Field and Description |
|---|---|
com.google.common.collect.ImmutableList<Window.Group> |
Window.groups |
| Constructor and Description |
|---|
Window(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode input,
List<RexLiteral> constants,
RelDataType rowType,
List<Window.Group> groups)
Creates a window relational expression.
|
| Modifier and Type | Method and Description |
|---|---|
static LogicalWindow |
LogicalWindow.create(RelTraitSet traitSet,
RelNode input,
List<RexLiteral> constants,
RelDataType rowType,
List<Window.Group> groups)
Creates a LogicalWindow.
|
| Constructor and Description |
|---|
LogicalWindow(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode input,
List<RexLiteral> constants,
RelDataType rowType,
List<Window.Group> groups)
Creates a LogicalWindow.
|
| Modifier and Type | Method and Description |
|---|---|
static List<RelCollation> |
RelMdCollation.window(RelMetadataQuery mq,
RelNode input,
com.google.common.collect.ImmutableList<Window.Group> groups)
Helper method to determine a
Window's collation. |
| Modifier and Type | Field and Description |
|---|---|
List<Window.Group> |
MutableWindow.groups |
| Modifier and Type | Method and Description |
|---|---|
static MutableWindow |
MutableWindow.of(RelDataType rowType,
MutableRel input,
List<Window.Group> groups,
List<RexLiteral> constants)
Creates a MutableWindow.
|
| Constructor and Description |
|---|
MutableWindow(RelDataType rowType,
MutableRel input,
List<Window.Group> groups,
List<RexLiteral> constants) |
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.