public class ArrayComponent extends IndexRowKeyComponent
_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_, separator_, SHORT, STRING, TIME, TIMESTAMP, type_| Constructor and Description |
|---|
ArrayComponent(boolean descendingOrder) |
ArrayComponent(OArray value,
boolean descendingOrder) |
| Modifier and Type | Method and Description |
|---|---|
int |
calculateEncodingSize(byte[] buf,
int offset) |
int |
decode(byte[] encodedData,
int offset,
int encodedDataSize) |
int |
encode(java.nio.ByteBuffer dst) |
OArray |
getArray() |
int |
getEncodingSize() |
int |
getEncodingSizeEstimate() |
byte |
getMarker(boolean biggest) |
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, setOrigTypepublic ArrayComponent(boolean descendingOrder)
public ArrayComponent(OArray value, boolean descendingOrder)
public byte getMarker(boolean biggest)
getMarker in class IndexRowKeyComponentpublic int getEncodingSizeEstimate()
getEncodingSizeEstimate in class IndexRowKeyComponentpublic int calculateEncodingSize(byte[] buf,
int offset)
calculateEncodingSize in class IndexRowKeyComponentpublic int getEncodingSize()
getEncodingSize in class IndexRowKeyComponentpublic OArray getArray()
getArray in class IndexRowKeyComponentpublic int encode(java.nio.ByteBuffer dst)
encode in class IndexRowKeyComponentpublic int decode(byte[] encodedData,
int offset,
int encodedDataSize)
decode in class IndexRowKeyComponent