Class OffsetShardReader

java.lang.Object
cz.drg.pregrouper.process.fileRead.OffsetShardReader

public class OffsetShardReader extends Object
Reads polozky offset shards, which contain metadata about dokladu and their byte offsets in sorted polozky files. Data in offset shards are written in batches of 18 bytes, where the first 8 bytes are long idDokladu, the next 8 bytes are long byte offset of the first line in a sorted polozky file, and last 2 bytes are short how many extra lines/polozek, besides the first one, the doklad have - used for readLine in RAF to get all related polozky.