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