Class NoChannelGroupByHash

java.lang.Object
io.trino.operator.NoChannelGroupByHash
All Implemented Interfaces:
GroupByHash

public class NoChannelGroupByHash extends Object implements GroupByHash
  • Constructor Details

    • NoChannelGroupByHash

      public NoChannelGroupByHash()
  • Method Details

    • getEstimatedSize

      public long getEstimatedSize()
      Specified by:
      getEstimatedSize in interface GroupByHash
    • getGroupCount

      public int getGroupCount()
      Specified by:
      getGroupCount in interface GroupByHash
    • appendValuesTo

      public void appendValuesTo(int groupId, PageBuilder pageBuilder)
      Specified by:
      appendValuesTo in interface GroupByHash
    • addPage

      public Work<?> addPage(Page page)
      Specified by:
      addPage in interface GroupByHash
    • getGroupIds

      public Work<int[]> getGroupIds(Page page)
      Description copied from interface: GroupByHash
      The 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:
      getGroupIds in interface GroupByHash
    • getRawHash

      public long getRawHash(int groupId)
      Specified by:
      getRawHash in interface GroupByHash
    • getCapacity

      public int getCapacity()
      Specified by:
      getCapacity in interface GroupByHash