public static interface RelBuilder.AggCall
Modifier and Type | Method and Description |
---|---|
RelBuilder.AggCall |
approximate(boolean approximate)
Returns a copy of this AggCall that may return approximate results if
approximate
is true. |
RelBuilder.AggCall |
as(@Nullable String alias)
Returns a copy of this AggCall with a given alias.
|
default RelBuilder.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.
|
RelBuilder.OverCall |
over()
Converts this aggregate call to a windowed aggregate call.
|
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 |
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 |
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 |
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. |
RelBuilder.AggCall filter(@Nullable org.apache.calcite.rex.RexNode condition)
RelBuilder.AggCall sort(Iterable<org.apache.calcite.rex.RexNode> orderKeys)
orderKeys
before
aggregating, as in SQL's WITHIN GROUP
clause.default RelBuilder.AggCall sort(org.apache.calcite.rex.RexNode... orderKeys)
orderKeys
before
aggregating, as in SQL's WITHIN GROUP
clause.RelBuilder.AggCall unique(@Nullable Iterable<org.apache.calcite.rex.RexNode> distinctKeys)
distinctKeys
before aggregating, as in SQL's WITHIN DISTINCT
clause.default RelBuilder.AggCall unique(org.apache.calcite.rex.RexNode... distinctKeys)
distinctKeys
before aggregating, as in SQL's WITHIN DISTINCT
clause.RelBuilder.AggCall approximate(boolean approximate)
approximate
is true.RelBuilder.AggCall ignoreNulls(boolean ignoreNulls)
RelBuilder.AggCall as(@Nullable String alias)
RelBuilder.AggCall distinct(boolean distinct)
default RelBuilder.AggCall distinct()
RelBuilder.OverCall over()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.