Package io.trino.operator.aggregation
Class MapUnionAggregation
- java.lang.Object
-
- io.trino.metadata.SqlAggregationFunction
-
- io.trino.operator.aggregation.MapUnionAggregation
-
- All Implemented Interfaces:
SqlFunction
public class MapUnionAggregation extends SqlAggregationFunction
-
-
Constructor Summary
Constructors Constructor Description MapUnionAggregation(BlockTypeOperators blockTypeOperators)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidcombine(KeyValuePairsState state, KeyValuePairsState otherState)static voidinput(Type keyType, BlockTypeOperators.BlockPositionEqual keyEqual, BlockTypeOperators.BlockPositionHashCode keyHashCode, Type valueType, KeyValuePairsState state, Block value)static voidoutput(KeyValuePairsState state, BlockBuilder out)AggregationMetadataspecialize(BoundSignature boundSignature)-
Methods inherited from class io.trino.metadata.SqlAggregationFunction
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.trino.metadata.SqlFunction
getFunctionDependencies, getFunctionDependencies
-
-
-
-
Field Detail
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MapUnionAggregation
public MapUnionAggregation(BlockTypeOperators blockTypeOperators)
-
-
Method Detail
-
specialize
public AggregationMetadata specialize(BoundSignature boundSignature)
- Overrides:
specializein classSqlAggregationFunction
-
input
public static void input(Type keyType, BlockTypeOperators.BlockPositionEqual keyEqual, BlockTypeOperators.BlockPositionHashCode keyHashCode, Type valueType, KeyValuePairsState state, Block value)
-
combine
public static void combine(KeyValuePairsState state, KeyValuePairsState otherState)
-
output
public static void output(KeyValuePairsState state, BlockBuilder out)
-
-