Class IsmFormat.KeyPrefix

  • Enclosing class:
    IsmFormat

    public abstract static class IsmFormat.KeyPrefix
    extends java.lang.Object
    The prefix used before each key which contains the number of shared and unshared bytes from the previous key that was read. The key prefix along with the previous key and the unshared key bytes allows one to construct the current key by doing the following currentKey = previousKey[0 : sharedBytes] + read(unsharedBytes).

    The key prefix is encoded as:

    • number of shared key bytes (variable length integer coding)
    • number of unshared key bytes (variable length integer coding)
    • Constructor Detail

      • KeyPrefix

        public KeyPrefix()
    • Method Detail

      • getSharedKeySize

        public abstract int getSharedKeySize()
      • getUnsharedKeySize

        public abstract int getUnsharedKeySize()