| Package | Description |
|---|---|
| org.apache.calcite.tools |
Provides utility classes.
|
| Modifier and Type | Class and Description |
|---|---|
private static class |
RelBuilder.AggCallImpl
Implementation of
RelBuilder.AggCall. |
private static class |
RelBuilder.AggCallImpl2
Implementation of
RelBuilder.AggCall that wraps an
AggregateCall. |
| Modifier and Type | Method and Description |
|---|---|
RelBuilder.AggCall |
RelBuilder.aggregateCall(SqlAggFunction aggFunction,
boolean distinct,
boolean approximate,
RexNode filter,
String alias,
Iterable<? extends RexNode> operands)
Creates a call to an aggregate function.
|
RelBuilder.AggCall |
RelBuilder.aggregateCall(SqlAggFunction aggFunction,
boolean distinct,
boolean approximate,
RexNode filter,
String alias,
RexNode... operands)
Creates a call to an aggregate function.
|
RelBuilder.AggCall |
RelBuilder.aggregateCall(SqlAggFunction aggFunction,
boolean distinct,
RexNode filter,
String alias,
Iterable<? extends RexNode> operands)
Deprecated.
|
RelBuilder.AggCall |
RelBuilder.aggregateCall(SqlAggFunction aggFunction,
boolean distinct,
RexNode filter,
String alias,
RexNode... operands)
Deprecated.
|
RelBuilder.AggCall |
RelBuilder.avg(boolean distinct,
String alias,
RexNode operand)
Creates a call to the AVG aggregate function.
|
RelBuilder.AggCall |
RelBuilder.count(boolean distinct,
String alias,
RexNode... operands)
Creates a call to the COUNT aggregate function.
|
RelBuilder.AggCall |
RelBuilder.countStar(String alias)
Creates a call to the COUNT(*) aggregate function.
|
RelBuilder.AggCall |
RelBuilder.max(String alias,
RexNode operand)
Creates a call to the MAX aggregate function.
|
RelBuilder.AggCall |
RelBuilder.min(String alias,
RexNode operand)
Creates a call to the MIN aggregate function.
|
RelBuilder.AggCall |
RelBuilder.sum(boolean distinct,
String alias,
RexNode operand)
Creates a call to the SUM aggregate function.
|
| Modifier and Type | Method and Description |
|---|---|
RelBuilder |
RelBuilder.aggregate(RelBuilder.GroupKey groupKey,
RelBuilder.AggCall... aggCalls)
Creates an
Aggregate with an array of
calls. |
| Modifier and Type | Method and Description |
|---|---|
RelBuilder |
RelBuilder.aggregate(RelBuilder.GroupKey groupKey,
Iterable<RelBuilder.AggCall> aggCalls)
Creates an
Aggregate with a list of
calls. |
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.