Class MapAggregationFunction
- java.lang.Object
-
- io.prestosql.metadata.SqlAggregationFunction
-
- io.prestosql.operator.aggregation.MapAggregationFunction
-
- All Implemented Interfaces:
SqlFunction
public class MapAggregationFunction extends SqlAggregationFunction
-
-
Constructor Summary
Constructors Constructor Description MapAggregationFunction(BlockTypeOperators blockTypeOperators)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
combine(KeyValuePairsState state, KeyValuePairsState otherState)
List<TypeSignature>
getIntermediateTypes(FunctionBinding functionBinding)
static void
input(Type keyType, BlockTypeOperators.BlockPositionEqual keyEqual, BlockTypeOperators.BlockPositionHashCode keyHashCode, Type valueType, KeyValuePairsState state, Block key, Block value, int position)
static void
output(KeyValuePairsState state, BlockBuilder out)
InternalAggregationFunction
specialize(FunctionBinding functionBinding)
-
Methods inherited from class io.prestosql.metadata.SqlAggregationFunction
createFunctionByAnnotations, createFunctionsByAnnotations, getAggregationMetadata, getFunctionMetadata, specialize
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.prestosql.metadata.SqlFunction
getFunctionDependencies, getFunctionDependencies
-
-
-
-
Field Detail
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MapAggregationFunction
public MapAggregationFunction(BlockTypeOperators blockTypeOperators)
-
-
Method Detail
-
getIntermediateTypes
public List<TypeSignature> getIntermediateTypes(FunctionBinding functionBinding)
- Overrides:
getIntermediateTypes
in classSqlAggregationFunction
-
specialize
public InternalAggregationFunction specialize(FunctionBinding functionBinding)
- Overrides:
specialize
in classSqlAggregationFunction
-
input
public static void input(Type keyType, BlockTypeOperators.BlockPositionEqual keyEqual, BlockTypeOperators.BlockPositionHashCode keyHashCode, Type valueType, KeyValuePairsState state, Block key, Block value, int position)
-
combine
public static void combine(KeyValuePairsState state, KeyValuePairsState otherState)
-
output
public static void output(KeyValuePairsState state, BlockBuilder out)
-
-