Package io.trino.operator
Class BigintGroupByHash
java.lang.Object
io.trino.operator.BigintGroupByHash
- All Implemented Interfaces:
GroupByHash
-
Constructor Summary
ConstructorsConstructorDescriptionBigintGroupByHash(int hashChannel, boolean outputRawHash, int expectedSize, UpdateMemory updateMemory) -
Method Summary
Modifier and TypeMethodDescriptionWork<?>voidappendValuesTo(int groupId, PageBuilder pageBuilder) booleanintlongintgetGroupIds(Page page) The order of new group ids need to be the same as the order of incoming rows, i.e.longgetRawHash(int groupId) getTypes()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.trino.operator.GroupByHash
contains
-
Constructor Details
-
BigintGroupByHash
public BigintGroupByHash(int hashChannel, boolean outputRawHash, int expectedSize, UpdateMemory updateMemory)
-
-
Method Details
-
getEstimatedSize
public long getEstimatedSize()- Specified by:
getEstimatedSizein interfaceGroupByHash
-
getTypes
- Specified by:
getTypesin interfaceGroupByHash
-
getGroupCount
public int getGroupCount()- Specified by:
getGroupCountin interfaceGroupByHash
-
appendValuesTo
- Specified by:
appendValuesToin interfaceGroupByHash
-
addPage
- Specified by:
addPagein interfaceGroupByHash
-
getGroupIds
Description copied from interface:GroupByHashThe order of new group ids need to be the same as the order of incoming rows, i.e. new group ids should be assigned in rows iteration order Example: rows: A B C B D A E group ids: 1 2 3 2 4 1 5- Specified by:
getGroupIdsin interfaceGroupByHash
-
contains
- Specified by:
containsin interfaceGroupByHash
-
getRawHash
public long getRawHash(int groupId) - Specified by:
getRawHashin interfaceGroupByHash
-
getCapacity
public int getCapacity()- Specified by:
getCapacityin interfaceGroupByHash
-