Class ArrayAggregationStateFactory
- java.lang.Object
-
- io.trino.operator.aggregation.arrayagg.ArrayAggregationStateFactory
-
- All Implemented Interfaces:
AccumulatorStateFactory<ArrayAggregationState>
public class ArrayAggregationStateFactory extends Object implements AccumulatorStateFactory<ArrayAggregationState>
-
-
Constructor Summary
Constructors Constructor Description ArrayAggregationStateFactory(Type type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ArrayAggregationStatecreateGroupedState()ArrayAggregationStatecreateSingleState()
-
-
-
Constructor Detail
-
ArrayAggregationStateFactory
public ArrayAggregationStateFactory(Type type)
-
-
Method Detail
-
createSingleState
public ArrayAggregationState createSingleState()
- Specified by:
createSingleStatein interfaceAccumulatorStateFactory<ArrayAggregationState>
-
createGroupedState
public ArrayAggregationState createGroupedState()
- Specified by:
createGroupedStatein interfaceAccumulatorStateFactory<ArrayAggregationState>
-
-