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()Class<? extends VarcharApproximateMostFrequent.State>getGroupedStateClass()Class<? extends VarcharApproximateMostFrequent.State>getSingleStateClass()
-
-
-
Method Detail
-
createSingleState
public VarcharApproximateMostFrequent.State createSingleState()
- Specified by:
createSingleStatein interfaceAccumulatorStateFactory<VarcharApproximateMostFrequent.State>
-
getSingleStateClass
public Class<? extends VarcharApproximateMostFrequent.State> getSingleStateClass()
- Specified by:
getSingleStateClassin interfaceAccumulatorStateFactory<VarcharApproximateMostFrequent.State>
-
createGroupedState
public VarcharApproximateMostFrequent.State createGroupedState()
- Specified by:
createGroupedStatein interfaceAccumulatorStateFactory<VarcharApproximateMostFrequent.State>
-
getGroupedStateClass
public Class<? extends VarcharApproximateMostFrequent.State> getGroupedStateClass()
- Specified by:
getGroupedStateClassin interfaceAccumulatorStateFactory<VarcharApproximateMostFrequent.State>
-
-