RelBuilder.AggCall |
RelBuilder.aggregateCall(org.apache.calcite.rel.core.AggregateCall a) |
Creates a call to an aggregate function as a copy of an AggregateCall .
|
RelBuilder.AggCall |
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 an AggregateCall , applying a
mapping.
|
protected RelBuilder.AggCall |
RelBuilder.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.AggCall |
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.AggCall |
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.AggCall |
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.AggCall |
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.AggCall |
RelBuilder.aggregateCall(org.apache.calcite.sql.SqlAggFunction aggFunction,
Iterable<? extends org.apache.calcite.rex.RexNode> operands) |
Creates a call to an aggregate function.
|
RelBuilder.AggCall |
RelBuilder.aggregateCall(org.apache.calcite.sql.SqlAggFunction aggFunction,
org.apache.calcite.rex.RexNode... operands) |
Creates a call to an aggregate function.
|
RelBuilder.AggCall |
RelBuilder.AggCall.approximate(boolean approximate) |
Returns a copy of this AggCall that may return approximate results if approximate
is true.
|
RelBuilder.AggCall |
RelBuilder.AggCall.as(@Nullable String alias) |
Returns a copy of this AggCall with a given alias.
|
RelBuilder.AggCall |
RelBuilder.avg(boolean distinct,
@Nullable String alias,
org.apache.calcite.rex.RexNode operand) |
Creates a call to the AVG aggregate function, optionally distinct and with an alias.
|
RelBuilder.AggCall |
RelBuilder.avg(org.apache.calcite.rex.RexNode operand) |
Creates a call to the AVG aggregate function.
|
RelBuilder.AggCall |
RelBuilder.count(boolean distinct,
@Nullable String alias,
Iterable<? extends org.apache.calcite.rex.RexNode> operands) |
Creates a call to the COUNT aggregate function, optionally distinct and with an
alias.
|
RelBuilder.AggCall |
RelBuilder.count(boolean distinct,
@Nullable String alias,
org.apache.calcite.rex.RexNode... operands) |
Creates a call to the COUNT aggregate function, optionally distinct and with an
alias.
|
RelBuilder.AggCall |
RelBuilder.count(Iterable<? extends org.apache.calcite.rex.RexNode> operands) |
Creates a call to the COUNT aggregate function.
|
RelBuilder.AggCall |
RelBuilder.count(org.apache.calcite.rex.RexNode... operands) |
Creates a call to the COUNT aggregate function.
|
RelBuilder.AggCall |
RelBuilder.countStar(@Nullable String alias) |
Creates a call to the COUNT(*) aggregate function.
|
default RelBuilder.AggCall |
RelBuilder.AggCall.distinct() |
Returns a copy of this AggCall that is distinct.
|
RelBuilder.AggCall |
RelBuilder.AggCall.distinct(boolean distinct) |
Returns a copy of this AggCall that is optionally distinct.
|
RelBuilder.AggCall |
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 |
RelBuilder.AggCall.ignoreNulls(boolean ignoreNulls) |
Returns a copy of this AggCall that ignores nulls.
|
RelBuilder.AggCall |
RelBuilder.max(@Nullable String alias,
org.apache.calcite.rex.RexNode operand) |
Creates a call to the MAX aggregate function.
|
RelBuilder.AggCall |
RelBuilder.max(org.apache.calcite.rex.RexNode operand) |
Creates a call to the MAX aggregate function, optionally with an alias.
|
RelBuilder.AggCall |
RelBuilder.min(@Nullable String alias,
org.apache.calcite.rex.RexNode operand) |
Creates a call to the MIN aggregate function, optionally with an alias.
|
RelBuilder.AggCall |
RelBuilder.min(org.apache.calcite.rex.RexNode operand) |
Creates a call to the MIN aggregate function.
|
RelBuilder.AggCall |
RelBuilder.AggCall.sort(Iterable<org.apache.calcite.rex.RexNode> orderKeys) |
Returns a copy of this AggCall that sorts its input values by orderKeys before
aggregating, as in SQL's WITHIN GROUP clause.
|
default RelBuilder.AggCall |
RelBuilder.AggCall.sort(org.apache.calcite.rex.RexNode... orderKeys) |
Returns a copy of this AggCall that sorts its input values by orderKeys before
aggregating, as in SQL's WITHIN GROUP clause.
|
RelBuilder.AggCall |
RelBuilder.sum(boolean distinct,
@Nullable String alias,
org.apache.calcite.rex.RexNode operand) |
Creates a call to the SUM aggregate function, optionally distinct and with an alias.
|
RelBuilder.AggCall |
RelBuilder.sum(org.apache.calcite.rex.RexNode operand) |
Creates a call to the SUM aggregate function.
|
RelBuilder.AggCall |
RelBuilder.AggCall.unique(@Nullable Iterable<org.apache.calcite.rex.RexNode> distinctKeys) |
Returns a copy of this AggCall that makes its input values unique by distinctKeys
before aggregating, as in SQL's WITHIN DISTINCT clause.
|
default RelBuilder.AggCall |
RelBuilder.AggCall.unique(org.apache.calcite.rex.RexNode... distinctKeys) |
Returns a copy of this AggCall that makes its input values unique by distinctKeys
before aggregating, as in SQL's WITHIN DISTINCT clause.
|