Package io.trino.type.setdigest
Class SetDigestStateFactory.GroupedSetDigestState
java.lang.Object
io.trino.type.setdigest.SetDigestStateFactory.GroupedSetDigestState
- All Implemented Interfaces:
AccumulatorState,GroupedAccumulatorState,SetDigestState
- Enclosing class:
SetDigestStateFactory
public static class SetDigestStateFactory.GroupedSetDigestState
extends Object
implements GroupedAccumulatorState, SetDigestState
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidensureCapacity(int size) longvoidvoidsetGroupId(int groupId) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.trino.spi.function.AccumulatorState
copy
-
Constructor Details
-
GroupedSetDigestState
public GroupedSetDigestState()
-
-
Method Details
-
setGroupId
public void setGroupId(int groupId) - Specified by:
setGroupIdin interfaceGroupedAccumulatorState
-
ensureCapacity
public void ensureCapacity(int size) - Specified by:
ensureCapacityin interfaceGroupedAccumulatorState
-
getDigest
- Specified by:
getDigestin interfaceSetDigestState
-
setDigest
- Specified by:
setDigestin interfaceSetDigestState
-
getEstimatedSize
public long getEstimatedSize()- Specified by:
getEstimatedSizein interfaceAccumulatorState
-