Class BinaryRecordV2

java.lang.Object
com.illumon.iris.binarystore.BinaryRecordV2
All Implemented Interfaces:
Record

public class BinaryRecordV2
extends Object
implements Record
This class implements binary record entry writing for the V2 binary log format. The binary store v2 format supports record entries. This class encapsulates the payload of such a record.
Format of a V2 binary Record (as distinct from a Row) is:
  1. Size (int) - per v2 binary format
  2. Row Flags (byte) - per v2 binary format
  3. record data:
    1. record type (int)
    2. version (int)
    3. any additional data for the record type
  4. checksum (int) - per v2 binary format
Format for a Command record is:
  1. command id (int)
  2. optional additional data