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