Package io.prestosql.type.setdigest
Class SetDigestStateFactory
- java.lang.Object
-
- io.prestosql.type.setdigest.SetDigestStateFactory
-
- All Implemented Interfaces:
AccumulatorStateFactory<SetDigestState>
public class SetDigestStateFactory extends Object implements AccumulatorStateFactory<SetDigestState>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SetDigestStateFactory.GroupedSetDigestState
static class
SetDigestStateFactory.SingleSetDigestState
-
Constructor Summary
Constructors Constructor Description SetDigestStateFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SetDigestState
createGroupedState()
SetDigestState
createSingleState()
Class<? extends SetDigestState>
getGroupedStateClass()
Class<? extends SetDigestState>
getSingleStateClass()
-
-
-
Method Detail
-
createSingleState
public SetDigestState createSingleState()
- Specified by:
createSingleState
in interfaceAccumulatorStateFactory<SetDigestState>
-
getSingleStateClass
public Class<? extends SetDigestState> getSingleStateClass()
- Specified by:
getSingleStateClass
in interfaceAccumulatorStateFactory<SetDigestState>
-
createGroupedState
public SetDigestState createGroupedState()
- Specified by:
createGroupedState
in interfaceAccumulatorStateFactory<SetDigestState>
-
getGroupedStateClass
public Class<? extends SetDigestState> getGroupedStateClass()
- Specified by:
getGroupedStateClass
in interfaceAccumulatorStateFactory<SetDigestState>
-
-