Package io.trino.operator
Class BigintGroupByHash
- java.lang.Object
-
- io.trino.operator.BigintGroupByHash
-
- All Implemented Interfaces:
GroupByHash
public class BigintGroupByHash extends Object implements GroupByHash
-
-
Constructor Summary
Constructors Constructor Description BigintGroupByHash(int hashChannel, boolean outputRawHash, int expectedSize, UpdateMemory updateMemory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Work<?>addPage(Page page)voidappendValuesTo(int groupId, PageBuilder pageBuilder, int outputChannelOffset)booleancontains(int position, Page page, int[] hashChannels)intgetCapacity()longgetEstimatedSize()doublegetExpectedHashCollisions()intgetGroupCount()Work<GroupByIdBlock>getGroupIds(Page page)longgetHashCollisions()longgetRawHash(int groupId)List<Type>getTypes()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.trino.operator.GroupByHash
contains
-
-
-
-
Constructor Detail
-
BigintGroupByHash
public BigintGroupByHash(int hashChannel, boolean outputRawHash, int expectedSize, UpdateMemory updateMemory)
-
-
Method Detail
-
getEstimatedSize
public long getEstimatedSize()
- Specified by:
getEstimatedSizein interfaceGroupByHash
-
getHashCollisions
public long getHashCollisions()
- Specified by:
getHashCollisionsin interfaceGroupByHash
-
getExpectedHashCollisions
public double getExpectedHashCollisions()
- Specified by:
getExpectedHashCollisionsin interfaceGroupByHash
-
getTypes
public List<Type> getTypes()
- Specified by:
getTypesin interfaceGroupByHash
-
getGroupCount
public int getGroupCount()
- Specified by:
getGroupCountin interfaceGroupByHash
-
appendValuesTo
public void appendValuesTo(int groupId, PageBuilder pageBuilder, int outputChannelOffset)- Specified by:
appendValuesToin interfaceGroupByHash
-
addPage
public Work<?> addPage(Page page)
- Specified by:
addPagein interfaceGroupByHash
-
getGroupIds
public Work<GroupByIdBlock> getGroupIds(Page page)
- Specified by:
getGroupIdsin interfaceGroupByHash
-
contains
public boolean contains(int position, Page page, int[] hashChannels)- Specified by:
containsin interfaceGroupByHash
-
getRawHash
public long getRawHash(int groupId)
- Specified by:
getRawHashin interfaceGroupByHash
-
getCapacity
public int getCapacity()
- Specified by:
getCapacityin interfaceGroupByHash
-
-