protected class EnumerableAggregateBase.AggContextImpl extends Object implements AggContext
AggContext.| Modifier and Type | Method and Description |
|---|---|
SqlAggFunction |
aggregation()
Returns the aggregation being implemented.
|
List<ImmutableBitSet> |
groupSets()
Returns the grouping sets we are aggregating on.
|
List<Integer> |
keyOrdinals()
Returns the ordinals of the input fields that make up the key.
|
List<? extends RelDataType> |
keyRelTypes()
Returns the types of the group key as
RelDataType. |
List<? extends Type> |
keyTypes()
Returns the types of the group key as
Type. |
List<? extends RelDataType> |
parameterRelTypes()
Returns the parameter types of the aggregate as
RelDataType. |
List<? extends Type> |
parameterTypes()
Returns the parameter types of the aggregate as
Type. |
RelDataType |
returnRelType()
Returns the return type of the aggregate as
RelDataType. |
Type |
returnType()
Returns the return type of the aggregate as
Type. |
public SqlAggFunction aggregation()
AggContextaggregation in interface AggContextpublic RelDataType returnRelType()
AggContextRelDataType.
This can be helpful to test
RelDataType.isNullable().returnRelType in interface AggContextpublic Type returnType()
AggContextType.returnType in interface AggContextTypepublic List<? extends RelDataType> parameterRelTypes()
AggContextRelDataType.
This can be helpful to test
RelDataType.isNullable().parameterRelTypes in interface AggContextpublic List<? extends Type> parameterTypes()
AggContextType.parameterTypes in interface AggContextpublic List<ImmutableBitSet> groupSets()
AggContextgroupSets in interface AggContextpublic List<Integer> keyOrdinals()
AggContextkeyOrdinals in interface AggContextpublic List<? extends RelDataType> keyRelTypes()
AggContextRelDataType.keyRelTypes in interface AggContextpublic List<? extends Type> keyTypes()
AggContextType.keyTypes in interface AggContextCopyright © 2012-2022 Apache Software Foundation. All Rights Reserved.