Class TDigestStateFactory
- java.lang.Object
-
- io.trino.operator.aggregation.state.TDigestStateFactory
-
- All Implemented Interfaces:
AccumulatorStateFactory<TDigestState>
public class TDigestStateFactory extends Object implements AccumulatorStateFactory<TDigestState>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTDigestStateFactory.GroupedTDigestStatestatic classTDigestStateFactory.SingleTDigestState
-
Constructor Summary
Constructors Constructor Description TDigestStateFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TDigestStatecreateGroupedState()TDigestStatecreateSingleState()
-
-
-
Method Detail
-
createSingleState
public TDigestState createSingleState()
- Specified by:
createSingleStatein interfaceAccumulatorStateFactory<TDigestState>
-
createGroupedState
public TDigestState createGroupedState()
- Specified by:
createGroupedStatein interfaceAccumulatorStateFactory<TDigestState>
-
-