Package org.apache.druid.segment
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" forRowPointer
implementations.
-
-
Constructor Summary
Constructors Constructor Description RowNumCounter()
RowNumCounter(int initialRowNum)
-
-
-
Method Detail
-
getAsInt
public int getAsInt()
- Specified by:
getAsInt
in interfaceIntSupplier
-
increment
public void increment()
-
-