Class RowNumCounter

java.lang.Object
org.apache.druid.segment.RowNumCounter
All Implemented Interfaces:
IntSupplier

public final class RowNumCounter extends Object implements IntSupplier
Could be used as a simple "row number supplier" for RowPointer implementations.
  • Constructor Details

    • RowNumCounter

      public RowNumCounter()
    • RowNumCounter

      public RowNumCounter(int initialRowNum)
  • Method Details

    • getAsInt

      public int getAsInt()
      Specified by:
      getAsInt in interface IntSupplier
    • increment

      public void increment()