Package | Description |
---|---|
org.apache.calcite.tools | |
org.apache.flink.table.planner.calcite |
Modifier and Type | Method and Description |
---|---|
RelBuilder.GroupKey |
RelBuilder.GroupKey.alias(@Nullable String alias)
Assigns an alias to this group key.
|
RelBuilder.GroupKey |
RelBuilder.groupKey()
Creates an empty group key.
|
RelBuilder.GroupKey |
RelBuilder.groupKey(org.apache.calcite.util.ImmutableBitSet groupSet)
Creates a group key, identified by field positions in the underlying relational expression.
|
RelBuilder.GroupKey |
RelBuilder.groupKey(org.apache.calcite.util.ImmutableBitSet groupSet,
boolean indicator,
@Nullable com.google.common.collect.ImmutableList<org.apache.calcite.util.ImmutableBitSet> groupSets)
Deprecated.
|
RelBuilder.GroupKey |
RelBuilder.groupKey(org.apache.calcite.util.ImmutableBitSet groupSet,
Iterable<? extends org.apache.calcite.util.ImmutableBitSet> groupSets)
Creates a group key with grouping sets, both identified by field positions in the underlying
relational expression.
|
RelBuilder.GroupKey |
RelBuilder.groupKey(int... fieldOrdinals)
Creates a group key of fields identified by ordinal.
|
RelBuilder.GroupKey |
RelBuilder.groupKey(Iterable<? extends org.apache.calcite.rex.RexNode> nodes)
Creates a group key.
|
RelBuilder.GroupKey |
RelBuilder.groupKey(Iterable<? extends org.apache.calcite.rex.RexNode> nodes,
boolean indicator,
Iterable<? extends Iterable<? extends org.apache.calcite.rex.RexNode>> nodeLists)
Deprecated.
Now that indicator is deprecated, use
RelBuilder.groupKey(Iterable, Iterable) ,
which has the same behavior as calling this method with indicator = false . |
RelBuilder.GroupKey |
RelBuilder.groupKey(Iterable<? extends org.apache.calcite.rex.RexNode> nodes,
Iterable<? extends Iterable<? extends org.apache.calcite.rex.RexNode>> nodeLists)
Creates a group key with grouping sets.
|
RelBuilder.GroupKey |
RelBuilder.groupKey(org.apache.calcite.rex.RexNode... nodes)
Creates a group key.
|
RelBuilder.GroupKey |
RelBuilder.groupKey(String... fieldNames)
Creates a group key of fields identified by name.
|
Modifier and Type | Method and Description |
---|---|
RelBuilder |
RelBuilder.aggregate(RelBuilder.GroupKey groupKey,
Iterable<RelBuilder.AggCall> aggCalls)
Creates an
Aggregate with multiple calls. |
RelBuilder |
RelBuilder.aggregate(RelBuilder.GroupKey groupKey,
List<org.apache.calcite.rel.core.AggregateCall> aggregateCalls)
Creates an
Aggregate with an array of AggregateCall s. |
RelBuilder |
RelBuilder.aggregate(RelBuilder.GroupKey groupKey,
RelBuilder.AggCall... aggCalls)
Creates an
Aggregate with an array of calls. |
RelBuilder |
RelBuilder.pivot(RelBuilder.GroupKey groupKey,
Iterable<? extends RelBuilder.AggCall> aggCalls,
Iterable<? extends org.apache.calcite.rex.RexNode> axes,
Iterable<? extends Map.Entry<String,? extends Iterable<? extends org.apache.calcite.rex.RexNode>>> values)
Creates a Pivot.
|
Modifier and Type | Method and Description |
---|---|
RelBuilder |
FlinkRelBuilder.aggregate(RelBuilder.GroupKey groupKey,
Iterable<RelBuilder.AggCall> aggCalls)
Build non-window aggregate for either aggregate or table aggregate.
|
RelBuilder |
FlinkRelBuilder.windowAggregate(org.apache.flink.table.planner.plan.logical.LogicalWindow window,
RelBuilder.GroupKey groupKey,
List<NamedWindowProperty> namedProperties,
Iterable<RelBuilder.AggCall> aggCalls)
Build window aggregate for either aggregate or table aggregate.
|
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.