Package com.illumon.iris.binarystore
Class BinaryStoreV2Constants
java.lang.Object
com.illumon.iris.binarystore.BinaryStoreV2Constants
Constant fields written to the V2 binary store.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final byte
static final byte
static final byte
static final byte
static final byte
static final int
static final int
Max size for Row or Record entries.static final String
static final int
static final int
In version 2, there is a bug with EnhancedString meta-data; requiring Java serialization to read it in.static final int
Version 3 follows the document correctly; writing UTF-8 strings for the Encoding type of EnhancedStrings. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
MAX_ENTRY_SIZE_PROPERTY_NAME
- See Also:
-
VERSION_NUMBER_2
public static final int VERSION_NUMBER_2In version 2, there is a bug with EnhancedString meta-data; requiring Java serialization to read it in. Additionally, the Enum constants include the promised encoding type.- See Also:
-
VERSION_NUMBER_3
public static final int VERSION_NUMBER_3Version 3 follows the document correctly; writing UTF-8 strings for the Encoding type of EnhancedStrings. Additionally, the Enum constants include an encoding type.- See Also:
-
CURRENT_VERSION_NUMBER
public static final int CURRENT_VERSION_NUMBER- See Also:
-
MAGIC_NUMBER
public static final int MAGIC_NUMBER- See Also:
-
COLUMN_DEFINITION_RECORD_TYPE
public static final int COLUMN_DEFINITION_RECORD_TYPE- See Also:
-
CONSTANT_COLUMN_RECORD_TYPE
public static final int CONSTANT_COLUMN_RECORD_TYPE- See Also:
-
APPLICATION_VERSION_RECORD_TYPE
public static final int APPLICATION_VERSION_RECORD_TYPE- See Also:
-
FLAG_NONE
public static final byte FLAG_NONE- See Also:
-
FLAG_START_ROW_SET
public static final byte FLAG_START_ROW_SET- See Also:
-
FLAG_END_ROW_SET
public static final byte FLAG_END_ROW_SET- See Also:
-
FLAG_SINGLE_ROW
public static final byte FLAG_SINGLE_ROW- See Also:
-
FLAG_RECORD
public static final byte FLAG_RECORD- See Also:
-
MAX_ENTRY_SIZE
public static final int MAX_ENTRY_SIZEMax size for Row or Record entries. If we ever need a different max size for rows and records, introduce a new constant. Note: this is sourced from LogtailerConstants now. TODO: Max entry size does not include 4 byte checksum at the end of each V2 entry, at least in theBinaryRowV2
implementation. This should probably be corrected in a new release. -
RECORD_TYPE_COMMAND
public static final int RECORD_TYPE_COMMAND- See Also:
-
-
Constructor Details
-
BinaryStoreV2Constants
public BinaryStoreV2Constants()
-