public class MapComponent extends CompositeComponent
document_, ENCODING_SIZE_SIZE, ORIGINAL_TYPE_ENCODING_SIZE_SIZE, 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_
Constructor and Description |
---|
MapComponent(boolean missingAndNullFirst,
boolean descendingOrder) |
MapComponent(boolean missingAndNullFirst,
boolean descendingOrder,
boolean root) |
MapComponent(OMap value,
boolean missingAndNullFirst,
boolean descendingOrder) |
MapComponent(OMap value,
boolean missingAndNullFirst,
boolean descendingOrder,
boolean root) |
Modifier and Type | Method and Description |
---|---|
boolean |
canPotentiallyContributeToOriginalTypeEncoding(int i) |
int |
decode(com.mapr.utils.ByteReader buf,
int offset,
int bufSize,
org.apache.commons.lang.mutable.MutableInt origTypeOffset) |
int |
decodeChildren(com.mapr.utils.ByteReader buf,
int offset,
int bufSize,
org.apache.commons.lang.mutable.MutableInt origTypeOffset,
org.ojai.DocumentBuilder docBld) |
OMap |
getMap() |
byte |
getMarker() |
calculateEncodingSize, componentArrayGet, componentArrayReset, encode, encodeOrigType, getComponent, getEncodingSize, getEncodingSizeEstimate, getMarker, getOrigTypeEncodingSize
decode, decode, findIdx, getArray, getBoolean, getByte, getByteArray, getDate, getDouble, getError, getErrorMessage, getFloat, getFullEncodingSize, getInt, getLong, getNextComponentOffset, getOffset, getOrigType, getSeparator, getShort, getString, getTime, getTimestamp, getType, isDecoded, setInt, setIsDecoded, setLong, setOffset, setOrigType
public MapComponent(boolean missingAndNullFirst, boolean descendingOrder, boolean root)
public MapComponent(boolean missingAndNullFirst, boolean descendingOrder)
public MapComponent(OMap value, boolean missingAndNullFirst, boolean descendingOrder, boolean root)
public MapComponent(OMap value, boolean missingAndNullFirst, boolean descendingOrder)
public byte getMarker()
getMarker
in class CompositeComponent
public OMap getMap()
getMap
in class IndexRowKeyComponent
public boolean canPotentiallyContributeToOriginalTypeEncoding(int i)
canPotentiallyContributeToOriginalTypeEncoding
in class CompositeComponent
public int decode(com.mapr.utils.ByteReader buf, int offset, int bufSize, org.apache.commons.lang.mutable.MutableInt origTypeOffset)
decode
in class IndexRowKeyComponent
public int decodeChildren(com.mapr.utils.ByteReader buf, int offset, int bufSize, org.apache.commons.lang.mutable.MutableInt origTypeOffset, org.ojai.DocumentBuilder docBld)
decodeChildren
in class IndexRowKeyComponent