public class ArrayComponent 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 |
---|
ArrayComponent(boolean missingAndNullFirst,
boolean descendingOrder) |
ArrayComponent(boolean missingAndNullFirst,
boolean descendingOrder,
boolean root) |
ArrayComponent(OArray value,
boolean missingAndNullFirst,
boolean descendingOrder) |
ArrayComponent(OArray 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) |
OArray |
getArray() |
byte |
getMarker() |
calculateEncodingSize, componentArrayGet, componentArrayReset, encode, encodeOrigType, getComponent, getEncodingSize, getEncodingSizeEstimate, getMarker, getOrigTypeEncodingSize
decode, decode, findIdx, 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, setOrigType
public ArrayComponent(boolean missingAndNullFirst, boolean descendingOrder, boolean root)
public ArrayComponent(boolean missingAndNullFirst, boolean descendingOrder)
public ArrayComponent(OArray value, boolean missingAndNullFirst, boolean descendingOrder, boolean root)
public ArrayComponent(OArray value, boolean missingAndNullFirst, boolean descendingOrder)
public byte getMarker()
getMarker
in class CompositeComponent
public OArray getArray()
getArray
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