Class StringApproximateMostFrequentStateFactory
- java.lang.Object
-
- io.prestosql.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 class
StringApproximateMostFrequentStateFactory.GroupedLongApproximateMostFrequentState
static class
StringApproximateMostFrequentStateFactory.SingleLongApproximateMostFrequentState
-
Constructor Summary
Constructors Constructor Description StringApproximateMostFrequentStateFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VarcharApproximateMostFrequent.State
createGroupedState()
VarcharApproximateMostFrequent.State
createSingleState()
Class<? extends VarcharApproximateMostFrequent.State>
getGroupedStateClass()
Class<? extends VarcharApproximateMostFrequent.State>
getSingleStateClass()
-
-
-
Method Detail
-
createSingleState
public VarcharApproximateMostFrequent.State createSingleState()
- Specified by:
createSingleState
in interfaceAccumulatorStateFactory<VarcharApproximateMostFrequent.State>
-
getSingleStateClass
public Class<? extends VarcharApproximateMostFrequent.State> getSingleStateClass()
- Specified by:
getSingleStateClass
in interfaceAccumulatorStateFactory<VarcharApproximateMostFrequent.State>
-
createGroupedState
public VarcharApproximateMostFrequent.State createGroupedState()
- Specified by:
createGroupedState
in interfaceAccumulatorStateFactory<VarcharApproximateMostFrequent.State>
-
getGroupedStateClass
public Class<? extends VarcharApproximateMostFrequent.State> getGroupedStateClass()
- Specified by:
getGroupedStateClass
in interfaceAccumulatorStateFactory<VarcharApproximateMostFrequent.State>
-
-