public interface AggContext
AggAddContext provides basic static information on types of arguments
and the return value of the aggregate being implemented.| 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. |
SqlAggFunction aggregation()
RelDataType returnRelType()
RelDataType.
This can be helpful to test
RelDataType.isNullable().Type returnType()
Type.TypeList<? extends RelDataType> parameterRelTypes()
RelDataType.
This can be helpful to test
RelDataType.isNullable().List<? extends Type> parameterTypes()
Type.List<Integer> keyOrdinals()
List<? extends RelDataType> keyRelTypes()
RelDataType.List<ImmutableBitSet> groupSets()
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.