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