Package io.trino.operator.aggregation
Class StringApproximateMostFrequentStateFactory
- java.lang.Object
-
- io.trino.operator.aggregation.StringApproximateMostFrequentStateFactory
-
- All Implemented Interfaces:
AccumulatorStateFactory<VarcharApproximateMostFrequent.State>
public class StringApproximateMostFrequentStateFactory extends Object implements AccumulatorStateFactory<VarcharApproximateMostFrequent.State>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStringApproximateMostFrequentStateFactory.GroupedLongApproximateMostFrequentStatestatic classStringApproximateMostFrequentStateFactory.SingleLongApproximateMostFrequentState
-
Constructor Summary
Constructors Constructor Description StringApproximateMostFrequentStateFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VarcharApproximateMostFrequent.StatecreateGroupedState()VarcharApproximateMostFrequent.StatecreateSingleState()
-
-
-
Method Detail
-
createSingleState
public VarcharApproximateMostFrequent.State createSingleState()
- Specified by:
createSingleStatein interfaceAccumulatorStateFactory<VarcharApproximateMostFrequent.State>
-
createGroupedState
public VarcharApproximateMostFrequent.State createGroupedState()
- Specified by:
createGroupedStatein interfaceAccumulatorStateFactory<VarcharApproximateMostFrequent.State>
-
-