Class OffsetAndLineLength

java.lang.Object
cz.drg.pregrouper.process.dto.OffsetAndLineLength

public class OffsetAndLineLength extends Object
Represents polozky offset shard metadata for single id_dokladu, from which byte index in a polozky file to start reading and how many lines.
  • Field Details

    • byteOffset

      public final long byteOffset
    • lineLength

      public final short lineLength
  • Constructor Details

    • OffsetAndLineLength

      public OffsetAndLineLength(long byteOffset, short lineLength)
  • Method Details

    • getBytes

      public byte[] getBytes()