Class BlockfileBaseTokens
java.lang.Object
io.datarouter.bytes.blockfile.block.tokens.BlockfileBaseTokens
- Direct Known Subclasses:
BlockfileFooterTokens,BlockfileHeaderTokens,BlockfileIndexTokens,BlockfileValueTokens
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final int -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
NUM_LENGTH_BYTES
public static final int NUM_LENGTH_BYTES -
NUM_PREFIX_BYTES
public static final int NUM_PREFIX_BYTES
-
-
Constructor Details
-
BlockfileBaseTokens
-
-
Method Details
-
length
public int length() -
blockType
-
encodeLength
public byte[] encodeLength() -
decodeLength
public static int decodeLength(byte[] lengthBytes) -
encodeBlockType
public byte[] encodeBlockType() -
prefixBytes
public byte[] prefixBytes() -
suffixLength
public abstract int suffixLength() -
totalLength
public int totalLength() -
toList
-
scan
public io.datarouter.scanner.Scanner<byte[]> scan() -
concat
public byte[] concat()
-