Class HyperLogLogStateFactory
- java.lang.Object
-
- io.prestosql.operator.aggregation.state.HyperLogLogStateFactory
-
- All Implemented Interfaces:
AccumulatorStateFactory<HyperLogLogState>
public class HyperLogLogStateFactory extends Object implements AccumulatorStateFactory<HyperLogLogState>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HyperLogLogStateFactory.GroupedHyperLogLogState
static class
HyperLogLogStateFactory.SingleHyperLogLogState
-
Constructor Summary
Constructors Constructor Description HyperLogLogStateFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HyperLogLogState
createGroupedState()
HyperLogLogState
createSingleState()
Class<? extends HyperLogLogState>
getGroupedStateClass()
Class<? extends HyperLogLogState>
getSingleStateClass()
-
-
-
Method Detail
-
createSingleState
public HyperLogLogState createSingleState()
- Specified by:
createSingleState
in interfaceAccumulatorStateFactory<HyperLogLogState>
-
getSingleStateClass
public Class<? extends HyperLogLogState> getSingleStateClass()
- Specified by:
getSingleStateClass
in interfaceAccumulatorStateFactory<HyperLogLogState>
-
createGroupedState
public HyperLogLogState createGroupedState()
- Specified by:
createGroupedState
in interfaceAccumulatorStateFactory<HyperLogLogState>
-
getGroupedStateClass
public Class<? extends HyperLogLogState> getGroupedStateClass()
- Specified by:
getGroupedStateClass
in interfaceAccumulatorStateFactory<HyperLogLogState>
-
-