public abstract class CompositeComponent extends IndexRowKeyComponent
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Object |
document_ |
protected int |
ENCODING_SIZE_SIZE |
protected int |
ORIGINAL_TYPE_ENCODING_SIZE_SIZE |
protected boolean |
root_ |
_NULL, ARRAY, BOOLEAN, BYTE, BYTE_ARRAY, BYTE_ARRAY_DECODING_SIZE_RATIO, BYTE_ARRAY_ENCODING_SIZE_RATIO, DATE, descendingOrder_, DOUBLE, ERROR, FLOAT, INT, isDecoded_, LONG, MAP, MARKER_SIZE, MISSING, NONE, NUMERIC, offset_, ORIG_TYPE_ENCODING_SIZE, separator_, SHORT, STRING, TIME, TIMESTAMP, type_| Modifier and Type | Method and Description |
|---|---|
int |
calculateEncodingSize(com.mapr.utils.ByteReader bb,
int offset) |
abstract boolean |
canPotentiallyContributeToOriginalTypeEncoding(int i) |
protected IndexRowKeyComponent |
componentArrayGet(int idx) |
protected void |
componentArrayReset() |
int |
encode(java.nio.ByteBuffer dst) |
int |
encodeOrigType(java.nio.ByteBuffer buf) |
protected IndexRowKeyComponent |
getComponent(com.mapr.utils.ByteReader buf,
int offset) |
int |
getEncodingSize() |
int |
getEncodingSizeEstimate() |
abstract byte |
getMarker() |
byte |
getMarker(boolean biggest) |
int |
getOrigTypeEncodingSize() |
decode, decode, decode, decodeChildren, findIdx, getArray, getBoolean, getByte, getByteArray, getDate, getDouble, getError, getErrorMessage, getFloat, getFullEncodingSize, getInt, getLong, getMap, getNextComponentOffset, getOffset, getOrigType, getSeparator, getShort, getString, getTime, getTimestamp, getType, isDecoded, setInt, setIsDecoded, setLong, setOffset, setOrigTypeprotected java.lang.Object document_
protected boolean root_
protected final int ENCODING_SIZE_SIZE
protected final int ORIGINAL_TYPE_ENCODING_SIZE_SIZE
public abstract byte getMarker()
public abstract boolean canPotentiallyContributeToOriginalTypeEncoding(int i)
protected void componentArrayReset()
protected IndexRowKeyComponent componentArrayGet(int idx)
public byte getMarker(boolean biggest)
getMarker in class IndexRowKeyComponentpublic int getOrigTypeEncodingSize()
getOrigTypeEncodingSize in class IndexRowKeyComponentpublic int getEncodingSizeEstimate()
getEncodingSizeEstimate in class IndexRowKeyComponentpublic int getEncodingSize()
getEncodingSize in class IndexRowKeyComponentpublic int encodeOrigType(java.nio.ByteBuffer buf)
encodeOrigType in class IndexRowKeyComponentprotected IndexRowKeyComponent getComponent(com.mapr.utils.ByteReader buf, int offset)
public int encode(java.nio.ByteBuffer dst)
encode in class IndexRowKeyComponentpublic int calculateEncodingSize(com.mapr.utils.ByteReader bb,
int offset)
calculateEncodingSize in class IndexRowKeyComponent