Package com.illumon.iris.binarystore
Class BinaryStoreV2Constants
java.lang.Object
com.illumon.iris.binarystore.BinaryStoreV2Constants
public class BinaryStoreV2Constants extends Object
Constant fields written to the V2 binary store.
-
Field Summary
Fields Modifier and Type Field Description static int
APPLICATION_VERSION_RECORD_TYPE
static int
COLUMN_DEFINITION_RECORD_TYPE
static int
CONSTANT_COLUMN_RECORD_TYPE
static int
CURRENT_VERSION_NUMBER
static byte
FLAG_END_ROW_SET
static byte
FLAG_NONE
static byte
FLAG_RECORD
static byte
FLAG_SINGLE_ROW
static byte
FLAG_START_ROW_SET
static int
MAGIC_NUMBER
static int
MAX_ENTRY_SIZE
Max size for Row or Record entries.static String
MAX_ENTRY_SIZE_PROPERTY_NAME
static int
RECORD_TYPE_COMMAND
static int
VERSION_NUMBER_2
In version 2, there is a bug with EnhancedString meta-data; requiring Java serialization to read it in.static int
VERSION_NUMBER_3
Version 3 follows the document correctly; writing UTF-8 strings for the Encoding type of EnhancedStrings. -
Constructor Summary
Constructors Constructor Description BinaryStoreV2Constants()
-
Method Summary
-
Field Details
-
MAX_ENTRY_SIZE_PROPERTY_NAME
- See Also:
- Constant Field Values
-
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:
- Constant Field Values
-
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:
- Constant Field Values
-
CURRENT_VERSION_NUMBER
public static final int CURRENT_VERSION_NUMBER- See Also:
- Constant Field Values
-
MAGIC_NUMBER
public static final int MAGIC_NUMBER- See Also:
- Constant Field Values
-
COLUMN_DEFINITION_RECORD_TYPE
public static final int COLUMN_DEFINITION_RECORD_TYPE- See Also:
- Constant Field Values
-
CONSTANT_COLUMN_RECORD_TYPE
public static final int CONSTANT_COLUMN_RECORD_TYPE- See Also:
- Constant Field Values
-
APPLICATION_VERSION_RECORD_TYPE
public static final int APPLICATION_VERSION_RECORD_TYPE- See Also:
- Constant Field Values
-
FLAG_NONE
public static final byte FLAG_NONE- See Also:
- Constant Field Values
-
FLAG_START_ROW_SET
public static final byte FLAG_START_ROW_SET- See Also:
- Constant Field Values
-
FLAG_END_ROW_SET
public static final byte FLAG_END_ROW_SET- See Also:
- Constant Field Values
-
FLAG_SINGLE_ROW
public static final byte FLAG_SINGLE_ROW- See Also:
- Constant Field Values
-
FLAG_RECORD
public static final byte FLAG_RECORD- See Also:
- Constant Field Values
-
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. 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:
- Constant Field Values
-
-
Constructor Details
-
BinaryStoreV2Constants
public BinaryStoreV2Constants()
-