| Package | Description |
|---|---|
| org.apache.calcite.adapter.enumerable |
Query optimizer rules for Java calling convention.
|
| org.apache.calcite.materialize |
Management of materialized query results.
|
| org.apache.calcite.plan |
Defines interfaces for constructing rule-based optimizers of
relational expressions.
|
| org.apache.calcite.rel.core |
Defines core relational expressions.
|
| org.apache.calcite.rex |
Provides a language for representing row-expressions.
|
| org.apache.calcite.sql |
Provides a SQL parser and object model.
|
| org.apache.calcite.sql.fun |
Defines the set of standard SQL row-level functions and
operators.
|
| org.apache.calcite.sql.validate |
SQL validation.
|
| org.apache.calcite.sql2rel |
Translates a SQL parse tree to relational expression.
|
| Modifier and Type | Method and Description |
|---|---|
SqlAggFunction |
AggContext.aggregation()
Returns the aggregation being implemented.
|
| Modifier and Type | Method and Description |
|---|---|
AggImplementor |
RexImpTable.get(SqlAggFunction aggregation,
boolean forWindowAggregate) |
| Modifier and Type | Field and Description |
|---|---|
SqlAggFunction |
Lattice.Measure.agg |
| Constructor and Description |
|---|
Lattice.Measure(SqlAggFunction agg,
Iterable<Lattice.Column> args) |
| Modifier and Type | Method and Description |
|---|---|
static SqlAggFunction |
SubstitutionVisitor.getRollup(SqlAggFunction aggregation) |
| Modifier and Type | Method and Description |
|---|---|
static SqlAggFunction |
SubstitutionVisitor.getRollup(SqlAggFunction aggregation) |
| Modifier and Type | Method and Description |
|---|---|
SqlAggFunction |
AggregateCall.getAggregation()
Returns the aggregate function.
|
| Modifier and Type | Method and Description |
|---|---|
static AggregateCall |
AggregateCall.create(SqlAggFunction aggFunction,
boolean distinct,
List<Integer> argList,
int groupCount,
RelNode input,
RelDataType type,
String name)
Creates an AggregateCall, inferring its type if
type is null. |
| Constructor and Description |
|---|
Aggregate.AggCallBinding(RelDataTypeFactory typeFactory,
SqlAggFunction aggFunction,
List<RelDataType> operands,
int groupCount)
Creates an AggCallBinding
|
AggregateCall(SqlAggFunction aggFunction,
boolean distinct,
List<Integer> argList,
RelDataType type,
String name)
Creates an AggregateCall.
|
Window.RexWinAggCall(SqlAggFunction aggFun,
RelDataType type,
List<RexNode> operands,
int ordinal)
Creates a RexWinAggCall.
|
| Modifier and Type | Method and Description |
|---|---|
SqlAggFunction |
RexOver.getAggOperator()
Returns the aggregate operator for this expression.
|
| Modifier and Type | Method and Description |
|---|---|
RexNode |
RexBuilder.makeOver(RelDataType type,
SqlAggFunction operator,
List<RexNode> exprs,
List<RexNode> partitionKeys,
com.google.common.collect.ImmutableList<RexFieldCollation> orderKeys,
RexWindowBound lowerBound,
RexWindowBound upperBound,
boolean physical,
boolean allowPartial,
boolean nullWhenCountZero)
Creates a call to a windowed agg.
|
| Modifier and Type | Class and Description |
|---|---|
class |
SqlRankFunction
Operator which aggregates sets of values into a result.
|
| Modifier and Type | Class and Description |
|---|---|
class |
SqlAvgAggFunction
Avg is an aggregator which returns the average of the values
which go into it. |
class |
SqlCountAggFunction
Definition of the SQL
COUNT aggregation function. |
class |
SqlCovarAggFunction
Covar is an aggregator which returns the Covariance of the
values which go into it. |
class |
SqlFirstLastValueAggFunction
FIRST_VALUE and LAST_VALUE aggregate functions
return the first or the last value in a list of values that are input to the
function. |
class |
SqlHistogramAggFunction
HistogramAgg is base operator which supports the Histogram
MIN/MAX aggregatoin functions. |
class |
SqlLeadLagAggFunction
LEAD and LAG aggregate functions
return the value of given expression evaluated at given offset. |
class |
SqlMinMaxAggFunction
Definition of the
MIN and MAX aggregate functions,
returning the returns the smallest/largest of the values which go into it. |
class |
SqlNtileAggFunction
NTILE aggregate function
return the value of given expression evaluated at given offset. |
class |
SqlSingleValueAggFunction
SINGLE_VALUE aggregate function returns the input value if there
is only one value in the input; Otherwise it triggers a run-time error. |
class |
SqlSumAggFunction
Sum is an aggregator which returns the sum of the values which
go into it. |
class |
SqlSumEmptyIsZeroAggFunction
Sum0 is an aggregator which returns the sum of the values which
go into it like Sum. |
| Modifier and Type | Field and Description |
|---|---|
static SqlAggFunction |
SqlStdOperatorTable.AVG
AVG aggregate function. |
static SqlAggFunction |
SqlStdOperatorTable.COUNT
COUNT aggregate function. |
static SqlAggFunction |
SqlStdOperatorTable.COVAR_POP
COVAR_POP aggregate function. |
static SqlAggFunction |
SqlStdOperatorTable.COVAR_SAMP
COVAR_SAMP aggregate function. |
static SqlAggFunction |
SqlStdOperatorTable.FIRST_VALUE
FIRST_VALUE aggregate function. |
static SqlAggFunction |
SqlStdOperatorTable.HISTOGRAM_AGG
HISTOGRAM aggregate function support. |
static SqlAggFunction |
SqlStdOperatorTable.LAG
LAG aggregate function. |
static SqlAggFunction |
SqlStdOperatorTable.LAST_VALUE
LAST_VALUE aggregate function. |
static SqlAggFunction |
SqlStdOperatorTable.LEAD
LEAD aggregate function. |
static SqlAggFunction |
SqlStdOperatorTable.MAX
MAX aggregate function. |
static SqlAggFunction |
SqlStdOperatorTable.MIN
MIN aggregate function. |
static SqlAggFunction |
SqlStdOperatorTable.NTILE
NTILE aggregate function. |
static SqlAggFunction |
SqlStdOperatorTable.REGR_SXX
REGR_SXX aggregate function. |
static SqlAggFunction |
SqlStdOperatorTable.REGR_SYY
REGR_SYY aggregate function. |
static SqlAggFunction |
SqlStdOperatorTable.SINGLE_VALUE
SINGLE_VALUE aggregate function. |
static SqlAggFunction |
SqlStdOperatorTable.STDDEV_POP
STDDEV_POP aggregate function. |
static SqlAggFunction |
SqlStdOperatorTable.STDDEV_SAMP
STDDEV_SAMP aggregate function. |
static SqlAggFunction |
SqlStdOperatorTable.SUM
SUM aggregate function. |
static SqlAggFunction |
SqlStdOperatorTable.SUM0
SUM0 aggregate function. |
static SqlAggFunction |
SqlStdOperatorTable.VAR_POP
VAR_POP aggregate function. |
static SqlAggFunction |
SqlStdOperatorTable.VAR_SAMP
VAR_SAMP aggregate function. |
| Modifier and Type | Class and Description |
|---|---|
class |
SqlUserDefinedAggFunction
User-defined aggregate function.
|
| Modifier and Type | Method and Description |
|---|---|
RexNode |
StandardConvertletTable.convertAggregateFunction(SqlRexContext cx,
SqlAggFunction fun,
SqlCall call) |
Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.