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()Class<? extends MinMaxNState>getGroupedStateClass()Class<? extends MinMaxNState>getSingleStateClass()
-
-
-
Method Detail
-
createSingleState
public MinMaxNState createSingleState()
- Specified by:
createSingleStatein interfaceAccumulatorStateFactory<MinMaxNState>
-
getSingleStateClass
public Class<? extends MinMaxNState> getSingleStateClass()
- Specified by:
getSingleStateClassin interfaceAccumulatorStateFactory<MinMaxNState>
-
createGroupedState
public MinMaxNState createGroupedState()
- Specified by:
createGroupedStatein interfaceAccumulatorStateFactory<MinMaxNState>
-
getGroupedStateClass
public Class<? extends MinMaxNState> getGroupedStateClass()
- Specified by:
getGroupedStateClassin interfaceAccumulatorStateFactory<MinMaxNState>
-
-