Class MinMaxNStateFactory
- java.lang.Object
-
- io.prestosql.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 class
MinMaxNStateFactory.GroupedMinMaxNState
static class
MinMaxNStateFactory.SingleMinMaxNState
-
Constructor Summary
Constructors Constructor Description MinMaxNStateFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MinMaxNState
createGroupedState()
MinMaxNState
createSingleState()
Class<? extends MinMaxNState>
getGroupedStateClass()
Class<? extends MinMaxNState>
getSingleStateClass()
-
-
-
Method Detail
-
createSingleState
public MinMaxNState createSingleState()
- Specified by:
createSingleState
in interfaceAccumulatorStateFactory<MinMaxNState>
-
getSingleStateClass
public Class<? extends MinMaxNState> getSingleStateClass()
- Specified by:
getSingleStateClass
in interfaceAccumulatorStateFactory<MinMaxNState>
-
createGroupedState
public MinMaxNState createGroupedState()
- Specified by:
createGroupedState
in interfaceAccumulatorStateFactory<MinMaxNState>
-
getGroupedStateClass
public Class<? extends MinMaxNState> getGroupedStateClass()
- Specified by:
getGroupedStateClass
in interfaceAccumulatorStateFactory<MinMaxNState>
-
-