public class ErrorComponent 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_, ORIG_TYPE_ENCODING_SIZE, separator_, SHORT, STRING, TIME, TIMESTAMP, type_| Constructor and Description |
|---|
ErrorComponent(Error value) |
| Modifier and Type | Method and Description |
|---|---|
int |
calculateEncodingSize(com.mapr.utils.ByteReader encodedData,
int offset) |
int |
decode(com.mapr.utils.ByteReader buf,
int offset,
int encodedDataSize,
org.apache.commons.lang.mutable.MutableInt origTypeIndex) |
int |
encode(java.nio.ByteBuffer dst) |
int |
getEncodingSize() |
int |
getEncodingSizeEstimate() |
Error |
getError() |
java.lang.String |
getErrorMessage() |
byte |
getMarker(boolean biggest) |
decode, decode, decodeChildren, encodeOrigType, findIdx, getArray, getBoolean, getByte, getByteArray, getDate, getDouble, getFloat, getFullEncodingSize, getInt, getLong, getMap, getNextComponentOffset, getOffset, getOrigType, getOrigTypeEncodingSize, getSeparator, getShort, getString, getTime, getTimestamp, getType, isDecoded, setInt, setIsDecoded, setLong, setOffset, setOrigTypepublic ErrorComponent(Error value)
public byte getMarker(boolean biggest)
getMarker in class IndexRowKeyComponentpublic int getEncodingSizeEstimate()
getEncodingSizeEstimate in class IndexRowKeyComponentpublic int calculateEncodingSize(com.mapr.utils.ByteReader encodedData,
int offset)
calculateEncodingSize in class IndexRowKeyComponentpublic int getEncodingSize()
getEncodingSize in class IndexRowKeyComponentpublic Error getError()
getError in class IndexRowKeyComponentpublic java.lang.String getErrorMessage()
getErrorMessage in class IndexRowKeyComponentpublic int encode(java.nio.ByteBuffer dst)
encode in class IndexRowKeyComponentpublic int decode(com.mapr.utils.ByteReader buf,
int offset,
int encodedDataSize,
org.apache.commons.lang.mutable.MutableInt origTypeIndex)
decode in class IndexRowKeyComponent