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:AggContextReturns the aggregation being implemented.- Specified by:
aggregationin interfaceAggContext- Returns:
- aggregation being implemented.
-
returnRelType
Description copied from interface:AggContextReturns the return type of the aggregate asRelDataType. This can be helpful to testRelDataType.isNullable().- Specified by:
returnRelTypein interfaceAggContext- Returns:
- return type of the aggregate
-
returnType
Description copied from interface:AggContextReturns the return type of the aggregate asType.- Specified by:
returnTypein interfaceAggContext- Returns:
- return type of the aggregate as
Type
-
parameterRelTypes
Description copied from interface:AggContextReturns the parameter types of the aggregate asRelDataType. This can be helpful to testRelDataType.isNullable().- Specified by:
parameterRelTypesin interfaceAggContext- Returns:
- Parameter types of the aggregate
-
parameterTypes
Description copied from interface:AggContextReturns the parameter types of the aggregate asType.- Specified by:
parameterTypesin interfaceAggContext- Returns:
- Parameter types of the aggregate
-
groupSets
Description copied from interface:AggContextReturns the grouping sets we are aggregating on.- Specified by:
groupSetsin interfaceAggContext
-
keyOrdinals
Description copied from interface:AggContextReturns the ordinals of the input fields that make up the key.- Specified by:
keyOrdinalsin interfaceAggContext
-
keyRelTypes
Description copied from interface:AggContextReturns the types of the group key asRelDataType.- Specified by:
keyRelTypesin interfaceAggContext
-
keyTypes
Description copied from interface:AggContextReturns the types of the group key asType.- Specified by:
keyTypesin interfaceAggContext
-