private static class RelBuilder.AggCallImpl2 extends java.lang.Object implements RelBuilder.AggCall
RelBuilder.AggCall
that wraps an
AggregateCall
.Modifier and Type | Field and Description |
---|---|
private AggregateCall |
aggregateCall |
Constructor and Description |
---|
AggCallImpl2(AggregateCall aggregateCall) |
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(java.lang.String alias)
Returns a copy of this AggCall with a given alias.
|
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(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.AggCall |
sort(java.lang.Iterable<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 |
sort(RexNode... orderKeys)
Returns a copy of this AggCall that sorts its input values by
orderKeys before aggregating, as in SQL's WITHIN GROUP
clause. |
private final AggregateCall aggregateCall
AggCallImpl2(AggregateCall aggregateCall)
public RelBuilder.AggCall sort(java.lang.Iterable<RexNode> orderKeys)
RelBuilder.AggCall
orderKeys
before aggregating, as in SQL's WITHIN GROUP
clause.sort
in interface RelBuilder.AggCall
public RelBuilder.AggCall sort(RexNode... orderKeys)
RelBuilder.AggCall
orderKeys
before aggregating, as in SQL's WITHIN GROUP
clause.sort
in interface RelBuilder.AggCall
public RelBuilder.AggCall approximate(boolean approximate)
RelBuilder.AggCall
approximate
is true.approximate
in interface RelBuilder.AggCall
public RelBuilder.AggCall filter(RexNode condition)
RelBuilder.AggCall
filter
in interface RelBuilder.AggCall
public RelBuilder.AggCall as(java.lang.String alias)
RelBuilder.AggCall
as
in interface RelBuilder.AggCall
public RelBuilder.AggCall distinct(boolean distinct)
RelBuilder.AggCall
distinct
in interface RelBuilder.AggCall
public RelBuilder.AggCall distinct()
RelBuilder.AggCall
distinct
in interface RelBuilder.AggCall
public RelBuilder.AggCall ignoreNulls(boolean ignoreNulls)
RelBuilder.AggCall
ignoreNulls
in interface RelBuilder.AggCall
Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.