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 Constructor Description GroupedSetDigestState()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidensureCapacity(long size)SetDigestgetDigest()longgetEstimatedSize()voidsetDigest(SetDigest value)voidsetGroupId(long groupId)
-
-
-
Method Detail
-
setGroupId
public void setGroupId(long groupId)
- Specified by:
setGroupIdin interfaceGroupedAccumulatorState
-
ensureCapacity
public void ensureCapacity(long size)
- Specified by:
ensureCapacityin interfaceGroupedAccumulatorState
-
getDigest
public SetDigest getDigest()
- Specified by:
getDigestin interfaceSetDigestState
-
setDigest
public void setDigest(SetDigest value)
- Specified by:
setDigestin interfaceSetDigestState
-
getEstimatedSize
public long getEstimatedSize()
- Specified by:
getEstimatedSizein interfaceAccumulatorState
-
-