Class EnumerableAggregateBase.AggContextImpl
java.lang.Object
org.apache.calcite.adapter.enumerable.EnumerableAggregateBase.AggContextImpl
- All Implemented Interfaces:
AggContext
- Enclosing class:
EnumerableAggregateBase
An implementation of
AggContext
.-
Method Summary
Modifier and TypeMethodDescriptionReturns the aggregation being implemented.Returns the grouping sets we are aggregating on.Returns the ordinals of the input fields that make up the key.List<? extends RelDataType>
Returns the types of the group key asRelDataType
.keyTypes()
Returns the types of the group key asType
.List<? extends RelDataType>
Returns the parameter types of the aggregate asRelDataType
.Returns the parameter types of the aggregate asType
.Returns the return type of the aggregate asRelDataType
.Returns the return type of the aggregate asType
.
-
Method Details
-
aggregation
Description copied from interface:AggContext
Returns the aggregation being implemented.- Specified by:
aggregation
in interfaceAggContext
- Returns:
- aggregation being implemented.
-
returnRelType
Description copied from interface:AggContext
Returns the return type of the aggregate asRelDataType
. This can be helpful to testRelDataType.isNullable()
.- Specified by:
returnRelType
in interfaceAggContext
- Returns:
- return type of the aggregate
-
returnType
Description copied from interface:AggContext
Returns the return type of the aggregate asType
.- Specified by:
returnType
in interfaceAggContext
- Returns:
- return type of the aggregate as
Type
-
parameterRelTypes
Description copied from interface:AggContext
Returns the parameter types of the aggregate asRelDataType
. This can be helpful to testRelDataType.isNullable()
.- Specified by:
parameterRelTypes
in interfaceAggContext
- Returns:
- Parameter types of the aggregate
-
parameterTypes
Description copied from interface:AggContext
Returns the parameter types of the aggregate asType
.- Specified by:
parameterTypes
in interfaceAggContext
- Returns:
- Parameter types of the aggregate
-
groupSets
Description copied from interface:AggContext
Returns the grouping sets we are aggregating on.- Specified by:
groupSets
in interfaceAggContext
-
keyOrdinals
Description copied from interface:AggContext
Returns the ordinals of the input fields that make up the key.- Specified by:
keyOrdinals
in interfaceAggContext
-
keyRelTypes
Description copied from interface:AggContext
Returns the types of the group key asRelDataType
.- Specified by:
keyRelTypes
in interfaceAggContext
-
keyTypes
Description copied from interface:AggContext
Returns the types of the group key asType
.- Specified by:
keyTypes
in interfaceAggContext
-