Class MinMaxNStateFactory
- java.lang.Object
-
- io.trino.operator.aggregation.state.MinMaxNStateFactory
-
- All Implemented Interfaces:
AccumulatorStateFactory<MinMaxNState>
public class MinMaxNStateFactory extends Object implements AccumulatorStateFactory<MinMaxNState>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMinMaxNStateFactory.GroupedMinMaxNStatestatic classMinMaxNStateFactory.SingleMinMaxNState
-
Constructor Summary
Constructors Constructor Description MinMaxNStateFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MinMaxNStatecreateGroupedState()MinMaxNStatecreateSingleState()
-
-
-
Method Detail
-
createSingleState
public MinMaxNState createSingleState()
- Specified by:
createSingleStatein interfaceAccumulatorStateFactory<MinMaxNState>
-
createGroupedState
public MinMaxNState createGroupedState()
- Specified by:
createGroupedStatein interfaceAccumulatorStateFactory<MinMaxNState>
-
-