Uses of Interface
org.apache.calcite.tools.RelBuilder.AggCall
Packages that use RelBuilder.AggCall
-
Uses of RelBuilder.AggCall in org.apache.calcite.tools
Methods in org.apache.calcite.tools that return RelBuilder.AggCallModifier and TypeMethodDescriptionRelBuilder.aggregateCall(org.apache.calcite.rel.core.AggregateCall a) Creates a call to an aggregate function as a copy of anAggregateCall.RelBuilder.aggregateCall(org.apache.calcite.rel.core.AggregateCall a, org.apache.calcite.util.mapping.Mapping mapping) Creates a call to an aggregate function as a copy of anAggregateCall, applying a mapping.protected RelBuilder.AggCallRelBuilder.aggregateCall(org.apache.calcite.sql.SqlAggFunction aggFunction, boolean distinct, boolean approximate, boolean ignoreNulls, @Nullable org.apache.calcite.rex.RexNode filter, @Nullable com.google.common.collect.ImmutableList<org.apache.calcite.rex.RexNode> distinctKeys, com.google.common.collect.ImmutableList<org.apache.calcite.rex.RexNode> orderKeys, @Nullable String alias, com.google.common.collect.ImmutableList<org.apache.calcite.rex.RexNode> operands) Creates a call to an aggregate function with all applicable operands.RelBuilder.aggregateCall(org.apache.calcite.sql.SqlAggFunction aggFunction, boolean distinct, boolean approximate, org.apache.calcite.rex.RexNode filter, @Nullable String alias, Iterable<? extends org.apache.calcite.rex.RexNode> operands) Deprecated.RelBuilder.aggregateCall(org.apache.calcite.sql.SqlAggFunction aggFunction, boolean distinct, boolean approximate, org.apache.calcite.rex.RexNode filter, @Nullable String alias, org.apache.calcite.rex.RexNode... operands) Deprecated.RelBuilder.aggregateCall(org.apache.calcite.sql.SqlAggFunction aggFunction, boolean distinct, org.apache.calcite.rex.RexNode filter, @Nullable String alias, Iterable<? extends org.apache.calcite.rex.RexNode> operands) Deprecated.RelBuilder.aggregateCall(org.apache.calcite.sql.SqlAggFunction aggFunction, boolean distinct, org.apache.calcite.rex.RexNode filter, @Nullable String alias, org.apache.calcite.rex.RexNode... operands) Deprecated.RelBuilder.aggregateCall(org.apache.calcite.sql.SqlAggFunction aggFunction, Iterable<? extends org.apache.calcite.rex.RexNode> operands) Creates a call to an aggregate function.RelBuilder.aggregateCall(org.apache.calcite.sql.SqlAggFunction aggFunction, org.apache.calcite.rex.RexNode... operands) Creates a call to an aggregate function.RelBuilder.AggCall.approximate(boolean approximate) Returns a copy of this AggCall that may return approximate results ifapproximateis true.Returns a copy of this AggCall with a given alias.Creates a call to theAVGaggregate function, optionally distinct and with an alias.RelBuilder.avg(org.apache.calcite.rex.RexNode operand) Creates a call to theAVGaggregate function.RelBuilder.count(boolean distinct, @Nullable String alias, Iterable<? extends org.apache.calcite.rex.RexNode> operands) Creates a call to theCOUNTaggregate function, optionally distinct and with an alias.RelBuilder.count(boolean distinct, @Nullable String alias, org.apache.calcite.rex.RexNode... operands) Creates a call to theCOUNTaggregate function, optionally distinct and with an alias.Creates a call to theCOUNTaggregate function.RelBuilder.count(org.apache.calcite.rex.RexNode... operands) Creates a call to theCOUNTaggregate function.Creates a call to theCOUNT(*)aggregate function.default RelBuilder.AggCallRelBuilder.AggCall.distinct()Returns a copy of this AggCall that is distinct.RelBuilder.AggCall.distinct(boolean distinct) Returns a copy of this AggCall that is optionally distinct.RelBuilder.AggCall.filter(@Nullable org.apache.calcite.rex.RexNode condition) Returns a copy of this AggCall that applies a filter before aggregating values.RelBuilder.AggCall.ignoreNulls(boolean ignoreNulls) Returns a copy of this AggCall that ignores nulls.Creates a call to theMAXaggregate function.RelBuilder.max(org.apache.calcite.rex.RexNode operand) Creates a call to theMAXaggregate function, optionally with an alias.Creates a call to theMINaggregate function, optionally with an alias.RelBuilder.min(org.apache.calcite.rex.RexNode operand) Creates a call to theMINaggregate function.Returns a copy of this AggCall that sorts its input values byorderKeysbefore aggregating, as in SQL'sWITHIN GROUPclause.default RelBuilder.AggCallRelBuilder.AggCall.sort(org.apache.calcite.rex.RexNode... orderKeys) Returns a copy of this AggCall that sorts its input values byorderKeysbefore aggregating, as in SQL'sWITHIN GROUPclause.Creates a call to theSUMaggregate function, optionally distinct and with an alias.RelBuilder.sum(org.apache.calcite.rex.RexNode operand) Creates a call to theSUMaggregate function.Returns a copy of this AggCall that makes its input values unique bydistinctKeysbefore aggregating, as in SQL'sWITHIN DISTINCTclause.default RelBuilder.AggCallRelBuilder.AggCall.unique(org.apache.calcite.rex.RexNode... distinctKeys) Returns a copy of this AggCall that makes its input values unique bydistinctKeysbefore aggregating, as in SQL'sWITHIN DISTINCTclause.Methods in org.apache.calcite.tools with parameters of type RelBuilder.AggCallModifier and TypeMethodDescriptionRelBuilder.aggregate(RelBuilder.GroupKey groupKey, RelBuilder.AggCall... aggCalls) Creates anAggregatewith an array of calls.Method parameters in org.apache.calcite.tools with type arguments of type RelBuilder.AggCallModifier and TypeMethodDescriptionRelBuilder.aggregate(RelBuilder.GroupKey groupKey, Iterable<RelBuilder.AggCall> aggCalls) Creates anAggregatewith multiple calls.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. -
Uses of RelBuilder.AggCall in org.apache.flink.table.planner.calcite
Method parameters in org.apache.flink.table.planner.calcite with type arguments of type RelBuilder.AggCallModifier and TypeMethodDescriptionFlinkRelBuilder.aggregate(RelBuilder.GroupKey groupKey, Iterable<RelBuilder.AggCall> aggCalls) Build non-window aggregate for either aggregate or table aggregate.FlinkRelBuilder.windowAggregate(LogicalWindow window, RelBuilder.GroupKey groupKey, List<org.apache.flink.table.runtime.groupwindow.NamedWindowProperty> namedProperties, Iterable<RelBuilder.AggCall> aggCalls) Build window aggregate for either aggregate or table aggregate.