Class MinMaxByNStateFactory
- java.lang.Object
-
- io.trino.operator.aggregation.minmaxby.MinMaxByNStateFactory
-
- All Implemented Interfaces:
AccumulatorStateFactory<MinMaxByNState>
public class MinMaxByNStateFactory extends Object implements AccumulatorStateFactory<MinMaxByNState>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMinMaxByNStateFactory.GroupedMinMaxByNStatestatic classMinMaxByNStateFactory.SingleMinMaxByNState
-
Constructor Summary
Constructors Constructor Description MinMaxByNStateFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MinMaxByNStatecreateGroupedState()MinMaxByNStatecreateSingleState()Class<? extends MinMaxByNState>getGroupedStateClass()Class<? extends MinMaxByNState>getSingleStateClass()
-
-
-
Method Detail
-
createSingleState
public MinMaxByNState createSingleState()
- Specified by:
createSingleStatein interfaceAccumulatorStateFactory<MinMaxByNState>
-
getSingleStateClass
public Class<? extends MinMaxByNState> getSingleStateClass()
- Specified by:
getSingleStateClassin interfaceAccumulatorStateFactory<MinMaxByNState>
-
createGroupedState
public MinMaxByNState createGroupedState()
- Specified by:
createGroupedStatein interfaceAccumulatorStateFactory<MinMaxByNState>
-
getGroupedStateClass
public Class<? extends MinMaxByNState> getGroupedStateClass()
- Specified by:
getGroupedStateClassin interfaceAccumulatorStateFactory<MinMaxByNState>
-
-