Class EmptyRowInTableLookup

java.lang.Object
org.elasticsearch.compute.aggregation.table.RowInTableLookup
org.elasticsearch.compute.aggregation.table.EmptyRowInTableLookup
All Implemented Interfaces:
Closeable, AutoCloseable, org.elasticsearch.core.Releasable

public final class EmptyRowInTableLookup extends RowInTableLookup
RowInTableLookup for an empty table.
  • Constructor Details

    • EmptyRowInTableLookup

      public EmptyRowInTableLookup(BlockFactory blockFactory)
  • Method Details

    • lookup

      public org.elasticsearch.core.ReleasableIterator<IntBlock> lookup(Page page, ByteSizeValue targetBlockSize)
      Description copied from class: RowInTableLookup
      Lookup the values in the Page and, for each row, return the offset in the table that was provided when building the lookup.

      The returned ReleasableIterator may retain a reference to Blocks inside the Page. Close it to release those references.

      Specified by:
      lookup in class RowInTableLookup
    • close

      public void close()
    • toString

      public String toString()
      Specified by:
      toString in class RowInTableLookup