Package io.trino.operator
Class NoChannelGroupByHash
java.lang.Object
io.trino.operator.NoChannelGroupByHash
- All Implemented Interfaces:
GroupByHash
-
Constructor Summary
Constructors -
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 groupyId) 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
-
NoChannelGroupByHash
public NoChannelGroupByHash()
-
-
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 groupyId) - Specified by:
getRawHashin interfaceGroupByHash
-
getCapacity
public int getCapacity()- Specified by:
getCapacityin interfaceGroupByHash
-