| Package | Description |
|---|---|
| org.apache.calcite.adapter.enumerable |
Query optimizer rules for Java calling convention.
|
| org.apache.calcite.adapter.jdbc |
Query provider based on a JDBC data source.
|
| org.apache.calcite.interpreter |
Provides an implementation of relational expressions using an interpreter.
|
| org.apache.calcite.materialize |
Management of materialized query results.
|
| org.apache.calcite.rel |
Defines relational expressions.
|
| org.apache.calcite.rel.core |
Defines core relational expressions.
|
| org.apache.calcite.rel.externalize |
Facilities to externalize
RelNodes to and from
XML and JSON format. |
| org.apache.calcite.rel.logical |
Defines logical relational expressions.
|
| org.apache.calcite.rel.rules |
Provides a core set of planner rules.
|
| org.apache.calcite.rex |
Provides a language for representing row-expressions.
|
| org.apache.calcite.sql2rel |
Translates a SQL parse tree to relational expression.
|
| Modifier and Type | Field and Description |
|---|---|
AggregateCall |
AggImpState.call |
| Modifier and Type | Method and Description |
|---|---|
EnumerableAggregate |
EnumerableAggregate.copy(RelTraitSet traitSet,
RelNode input,
boolean indicator,
ImmutableBitSet groupSet,
List<ImmutableBitSet> groupSets,
List<AggregateCall> aggCalls) |
| Constructor and Description |
|---|
AggImpState(int aggIdx,
AggregateCall call,
boolean windowContext) |
| Constructor and Description |
|---|
EnumerableAggregate(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode child,
boolean indicator,
ImmutableBitSet groupSet,
List<ImmutableBitSet> groupSets,
List<AggregateCall> aggCalls) |
| Modifier and Type | Method and Description |
|---|---|
SqlNode |
JdbcImplementor.Context.toSql(AggregateCall aggCall)
Converts a call to an aggregate function to an expression.
|
| Modifier and Type | Method and Description |
|---|---|
JdbcRules.JdbcAggregate |
JdbcRules.JdbcAggregate.copy(RelTraitSet traitSet,
RelNode input,
boolean indicator,
ImmutableBitSet groupSet,
List<ImmutableBitSet> groupSets,
List<AggregateCall> aggCalls) |
| Constructor and Description |
|---|
JdbcRules.JdbcAggregate(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode input,
boolean indicator,
ImmutableBitSet groupSet,
List<ImmutableBitSet> groupSets,
List<AggregateCall> aggCalls) |
| Modifier and Type | Method and Description |
|---|---|
Bindables.BindableAggregate |
Bindables.BindableAggregate.copy(RelTraitSet traitSet,
RelNode input,
boolean indicator,
ImmutableBitSet groupSet,
List<ImmutableBitSet> groupSets,
List<AggregateCall> aggCalls) |
| Constructor and Description |
|---|
Bindables.BindableAggregate(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode input,
boolean indicator,
ImmutableBitSet groupSet,
List<ImmutableBitSet> groupSets,
List<AggregateCall> aggCalls) |
| Modifier and Type | Method and Description |
|---|---|
List<Lattice.Measure> |
Lattice.toMeasures(List<AggregateCall> aggCallList) |
| Modifier and Type | Method and Description |
|---|---|
List<AggregateCall> |
RelInput.getAggregateCalls(String tag) |
| Modifier and Type | Field and Description |
|---|---|
protected List<AggregateCall> |
Aggregate.aggCalls |
| Modifier and Type | Method and Description |
|---|---|
AggregateCall |
AggregateCall.adaptTo(RelNode input,
List<Integer> aggArgs,
int oldGroupKeyCount,
int newGroupKeyCount)
Creates equivalent AggregateCall that is adapted to a new input types
and/or number of columns in GROUP BY.
|
AggregateCall |
AggregateCall.copy(List<Integer> args)
Creates an equivalent AggregateCall with new argument ordinals.
|
static AggregateCall |
AggregateCall.create(SqlAggFunction aggFunction,
boolean distinct,
List<Integer> argList,
int groupCount,
RelNode input,
RelDataType type,
String name)
Creates an AggregateCall, inferring its type if
type is null. |
AggregateCall |
AggregateCall.rename(String name)
Creates an equivalent AggregateCall that has a new name.
|
AggregateCall |
AggregateCall.transform(Mappings.TargetMapping mapping)
Creates a copy of this aggregate call, applying a mapping to its
arguments.
|
| Modifier and Type | Method and Description |
|---|---|
List<AggregateCall> |
Aggregate.getAggCallList()
Returns a list of calls to aggregate functions.
|
List<AggregateCall> |
Window.Group.getAggregateCalls(Window windowRel)
Presents a view of the
Window.RexWinAggCall list as a list of
AggregateCall. |
| Modifier and Type | Method and Description |
|---|---|
abstract Aggregate |
Aggregate.copy(RelTraitSet traitSet,
RelNode input,
boolean indicator,
ImmutableBitSet groupSet,
List<ImmutableBitSet> groupSets,
List<AggregateCall> aggCalls)
Creates a copy of this aggregate.
|
RelNode |
RelFactories.AggregateFactory.createAggregate(RelNode child,
boolean indicator,
ImmutableBitSet groupSet,
com.google.common.collect.ImmutableList<ImmutableBitSet> groupSets,
List<AggregateCall> aggCalls)
Creates an aggregate.
|
static RelDataType |
Aggregate.deriveRowType(RelDataTypeFactory typeFactory,
RelDataType inputRowType,
boolean indicator,
ImmutableBitSet groupSet,
List<ImmutableBitSet> groupSets,
List<AggregateCall> aggCalls)
Computes the row type of an
Aggregate before it exists. |
| Constructor and Description |
|---|
Aggregate(RelOptCluster cluster,
RelTraitSet traits,
RelNode child,
boolean indicator,
ImmutableBitSet groupSet,
List<ImmutableBitSet> groupSets,
List<AggregateCall> aggCalls)
Creates an Aggregate.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
RelJson.toJson(AggregateCall node) |
| Modifier and Type | Method and Description |
|---|---|
LogicalAggregate |
LogicalAggregate.copy(RelTraitSet traitSet,
RelNode input,
boolean indicator,
ImmutableBitSet groupSet,
List<ImmutableBitSet> groupSets,
List<AggregateCall> aggCalls) |
static LogicalAggregate |
LogicalAggregate.create(RelNode input,
boolean indicator,
ImmutableBitSet groupSet,
List<ImmutableBitSet> groupSets,
List<AggregateCall> aggCalls)
Creates a LogicalAggregate.
|
| Constructor and Description |
|---|
LogicalAggregate(RelOptCluster cluster,
RelNode child,
boolean indicator,
ImmutableBitSet groupSet,
List<ImmutableBitSet> groupSets,
List<AggregateCall> aggCalls)
Deprecated.
|
LogicalAggregate(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode child,
boolean indicator,
ImmutableBitSet groupSet,
List<ImmutableBitSet> groupSets,
List<AggregateCall> aggCalls)
Creates a LogicalAggregate.
|
| Modifier and Type | Method and Description |
|---|---|
protected Aggregate |
AggregateReduceFunctionsRule.newAggregateRel(Aggregate oldAggregate,
RelNode input,
List<AggregateCall> newCalls)
Do a shallow clone of oldAggRel and update aggCalls.
|
| Modifier and Type | Method and Description |
|---|---|
RexNode |
RexBuilder.addAggCall(AggregateCall aggCall,
int groupCount,
boolean indicator,
List<AggregateCall> aggCalls,
Map<AggregateCall,RexNode> aggCallMapping,
List<RelDataType> aggArgTypes)
Creates a reference to an aggregate call, checking for repeated calls.
|
| Modifier and Type | Method and Description |
|---|---|
RexNode |
RexBuilder.addAggCall(AggregateCall aggCall,
int groupCount,
boolean indicator,
List<AggregateCall> aggCalls,
Map<AggregateCall,RexNode> aggCallMapping,
List<RelDataType> aggArgTypes)
Creates a reference to an aggregate call, checking for repeated calls.
|
RexNode |
RexBuilder.addAggCall(AggregateCall aggCall,
int groupCount,
boolean indicator,
List<AggregateCall> aggCalls,
Map<AggregateCall,RexNode> aggCallMapping,
List<RelDataType> aggArgTypes)
Creates a reference to an aggregate call, checking for repeated calls.
|
| Modifier and Type | Method and Description |
|---|---|
List<AggregateCall> |
SqlToRelConverter.AggConverter.getAggCalls() |
| Modifier and Type | Method and Description |
|---|---|
protected RelNode |
SqlToRelConverter.createAggregate(SqlToRelConverter.Blackboard bb,
boolean indicator,
ImmutableBitSet groupSet,
com.google.common.collect.ImmutableList<ImmutableBitSet> groupSets,
List<AggregateCall> aggCalls)
Creates an Aggregate.
|
Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.