Class ArrayAggregationStateFactory
- java.lang.Object
-
- io.prestosql.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, ArrayAggGroupImplementation mode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ArrayAggregationState
createGroupedState()
ArrayAggregationState
createSingleState()
Class<? extends ArrayAggregationState>
getGroupedStateClass()
Class<? extends ArrayAggregationState>
getSingleStateClass()
-
-
-
Constructor Detail
-
ArrayAggregationStateFactory
public ArrayAggregationStateFactory(Type type, ArrayAggGroupImplementation mode)
-
-
Method Detail
-
createSingleState
public ArrayAggregationState createSingleState()
- Specified by:
createSingleState
in interfaceAccumulatorStateFactory<ArrayAggregationState>
-
getSingleStateClass
public Class<? extends ArrayAggregationState> getSingleStateClass()
- Specified by:
getSingleStateClass
in interfaceAccumulatorStateFactory<ArrayAggregationState>
-
createGroupedState
public ArrayAggregationState createGroupedState()
- Specified by:
createGroupedState
in interfaceAccumulatorStateFactory<ArrayAggregationState>
-
getGroupedStateClass
public Class<? extends ArrayAggregationState> getGroupedStateClass()
- Specified by:
getGroupedStateClass
in interfaceAccumulatorStateFactory<ArrayAggregationState>
-
-