in src/main/java/com/spotify/sparkey/IndexHeader.java [43:60]
private IndexHeader(int majorVersion, int minorVersion, int fileIdentifier, int hashSeed, long dataEnd,
long maxKeyLen, long maxValueLen, long garbageSize, long numEntries, int addressSize,
int hashSize, long hashCapacity, long maxDisplacement, long numPuts, int entryBlockBits, long hashCollisions, long totalDisplacement) throws IOException {
super(majorVersion, minorVersion, fileIdentifier, dataEnd, maxKeyLen, maxValueLen, numPuts);
this.hashSeed = hashSeed;
this.garbageSize = garbageSize;
this.numEntries = numEntries;
this.addressSize = addressSize;
this.hashSize = hashSize;
this.hashCapacity = hashCapacity;
this.maxDisplacement = maxDisplacement;
this.entryBlockBits = entryBlockBits;
this.hashCollisions = hashCollisions;
this.totalDisplacement = totalDisplacement;
this.hashType = getHashType(hashSize);
this.addressData = getAddressData(addressSize);
}