Class RecordInfo


  • public class RecordInfo
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      short compactCount
      How many times this record was compacted (up to 7 times) After the record has reached 7 times, it will always be 7 As we only store up to 0x7 binary, as part of the recordID (binary 111)
      byte[] data  
      long id  
      boolean isUpdate  
      boolean replaceableUpdate  
      byte userRecordType  
    • Constructor Summary

      Constructors 
      Constructor Description
      RecordInfo​(long id, byte userRecordType, byte[] data, boolean isUpdate, boolean replaceableUpdate, short compactCount)  
    • Field Detail

      • compactCount

        public final short compactCount
        How many times this record was compacted (up to 7 times) After the record has reached 7 times, it will always be 7 As we only store up to 0x7 binary, as part of the recordID (binary 111)
      • id

        public final long id
      • userRecordType

        public final byte userRecordType
      • data

        public final byte[] data
      • isUpdate

        public boolean isUpdate
      • replaceableUpdate

        public boolean replaceableUpdate
    • Constructor Detail

      • RecordInfo

        public RecordInfo​(long id,
                          byte userRecordType,
                          byte[] data,
                          boolean isUpdate,
                          boolean replaceableUpdate,
                          short compactCount)
    • Method Detail

      • getUserRecordType

        public byte getUserRecordType()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object