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()Class<? extends ArrayAggregationState>getGroupedStateClass()Class<? extends ArrayAggregationState>getSingleStateClass()
-
-
-
Constructor Detail
-
ArrayAggregationStateFactory
public ArrayAggregationStateFactory(Type type)
-
-
Method Detail
-
createSingleState
public ArrayAggregationState createSingleState()
- Specified by:
createSingleStatein interfaceAccumulatorStateFactory<ArrayAggregationState>
-
getSingleStateClass
public Class<? extends ArrayAggregationState> getSingleStateClass()
- Specified by:
getSingleStateClassin interfaceAccumulatorStateFactory<ArrayAggregationState>
-
createGroupedState
public ArrayAggregationState createGroupedState()
- Specified by:
createGroupedStatein interfaceAccumulatorStateFactory<ArrayAggregationState>
-
getGroupedStateClass
public Class<? extends ArrayAggregationState> getGroupedStateClass()
- Specified by:
getGroupedStateClassin interfaceAccumulatorStateFactory<ArrayAggregationState>
-
-