Package | Description |
---|---|
com.amazon.carbonado.raw |
Provides support for repositories that encode/decode storables in a raw
binary format.
|
Modifier and Type | Method and Description |
---|---|
static int |
KeyDecoder.decode(byte[] src,
int srcOffset,
java.math.BigDecimal[] valueRef)
Decodes the given BigDecimal as originally encoded for ascending order.
|
static int |
DataDecoder.decode(byte[] src,
int srcOffset,
java.math.BigDecimal[] valueRef)
Decodes a BigDecimal.
|
static int |
KeyDecoder.decode(byte[] src,
int srcOffset,
java.math.BigInteger[] valueRef)
Decodes the given BigInteger as originally encoded for ascending order.
|
static int |
DataDecoder.decode(byte[] src,
int srcOffset,
java.math.BigInteger[] valueRef)
Decodes a BigInteger.
|
static int |
KeyDecoder.decode(byte[] src,
int srcOffset,
byte[][] valueRef)
Decodes the given byte array as originally encoded for ascending order.
|
static int |
DataDecoder.decode(byte[] src,
int srcOffset,
byte[][] valueRef)
Decodes the given byte array.
|
void |
GenericStorableCodec.Decoder.decode(S dest,
byte[] data) |
void |
StorableCodec.decode(S dest,
int generation,
byte[] data)
Used for decoding different generations of Storable.
|
void |
RawSupport.decode(S dest,
int generation,
byte[] data)
Used for decoding different generations of Storable.
|
void |
GenericStorableCodec.decode(S dest,
int generation,
byte[] data) |
static boolean |
DataDecoder.decodeBoolean(byte[] src,
int srcOffset)
Decodes a boolean from exactly 1 byte.
|
static boolean |
KeyDecoder.decodeBooleanDesc(byte[] src,
int srcOffset)
Decodes a boolean from exactly 1 byte, as encoded for descending order.
|
static java.lang.Boolean |
DataDecoder.decodeBooleanObj(byte[] src,
int srcOffset)
Decodes a Boolean object from exactly 1 byte.
|
static java.lang.Boolean |
KeyDecoder.decodeBooleanObjDesc(byte[] src,
int srcOffset)
Decodes a Boolean object from exactly 1 byte, as encoded for descending
order.
|
static byte |
DataDecoder.decodeByte(byte[] src,
int srcOffset)
Decodes a signed byte from exactly 1 byte.
|
static byte |
KeyDecoder.decodeByteDesc(byte[] src,
int srcOffset)
Decodes a signed byte from exactly 1 byte, as encoded for descending
order.
|
static java.lang.Byte |
DataDecoder.decodeByteObj(byte[] src,
int srcOffset)
Decodes a signed Byte object from exactly 1 or 2 bytes.
|
static java.lang.Byte |
KeyDecoder.decodeByteObjDesc(byte[] src,
int srcOffset)
Decodes a signed Byte object from exactly 1 or 2 bytes, as encoded for
descending order.
|
static char |
DataDecoder.decodeChar(byte[] src,
int srcOffset)
Decodes a char from exactly 2 bytes.
|
static java.lang.Character |
DataDecoder.decodeCharacterObj(byte[] src,
int srcOffset)
Decodes a Character object from exactly 1 or 3 bytes.
|
static java.lang.Character |
KeyDecoder.decodeCharacterObjDesc(byte[] src,
int srcOffset)
Decodes a Character object from exactly 1 or 3 bytes, as encoded for
descending order.
|
static char |
KeyDecoder.decodeCharDesc(byte[] src,
int srcOffset)
Decodes a char from exactly 2 bytes, as encoded for descending order.
|
abstract void |
CustomStorableCodec.decodeData(S storable,
byte[] bytes)
Decode the data into properties of the storable.
|
static int |
KeyDecoder.decodeDesc(byte[] src,
int srcOffset,
java.math.BigDecimal[] valueRef)
Decodes the given BigDecimal as originally encoded for descending order.
|
static int |
KeyDecoder.decodeDesc(byte[] src,
int srcOffset,
java.math.BigInteger[] valueRef)
Decodes the given BigInteger as originally encoded for descending order.
|
static int |
KeyDecoder.decodeDesc(byte[] src,
int srcOffset,
byte[][] valueRef)
Decodes the given byte array as originally encoded for descending order.
|
static double |
DataDecoder.decodeDouble(byte[] src,
int srcOffset)
Decodes a double from exactly 8 bytes.
|
protected static long |
DataDecoder.decodeDoubleBits(byte[] src,
int srcOffset) |
static double |
KeyDecoder.decodeDoubleDesc(byte[] src,
int srcOffset)
Decodes a double from exactly 8 bytes, as encoded for descending order.
|
static java.lang.Double |
DataDecoder.decodeDoubleObj(byte[] src,
int srcOffset)
Decodes a Double object from exactly 8 bytes.
|
static java.lang.Double |
KeyDecoder.decodeDoubleObjDesc(byte[] src,
int srcOffset)
Decodes a Double object from exactly 8 bytes.
|
static float |
DataDecoder.decodeFloat(byte[] src,
int srcOffset)
Decodes a float from exactly 4 bytes.
|
protected static int |
DataDecoder.decodeFloatBits(byte[] src,
int srcOffset) |
static float |
KeyDecoder.decodeFloatDesc(byte[] src,
int srcOffset)
Decodes a float from exactly 4 bytes, as encoded for descending order.
|
static java.lang.Float |
DataDecoder.decodeFloatObj(byte[] src,
int srcOffset)
Decodes a Float object from exactly 4 bytes.
|
static java.lang.Float |
KeyDecoder.decodeFloatObjDesc(byte[] src,
int srcOffset)
Decodes a Float object from exactly 4 bytes.
|
static int |
DataDecoder.decodeInt(byte[] src,
int srcOffset)
Decodes a signed integer from exactly 4 bytes.
|
static int |
KeyDecoder.decodeIntDesc(byte[] src,
int srcOffset)
Decodes a signed integer from exactly 4 bytes, as encoded for descending
order.
|
static java.lang.Integer |
DataDecoder.decodeIntegerObj(byte[] src,
int srcOffset)
Decodes a signed Integer object from exactly 1 or 5 bytes.
|
static java.lang.Integer |
KeyDecoder.decodeIntegerObjDesc(byte[] src,
int srcOffset)
Decodes a signed Integer object from exactly 1 or 5 bytes, as encoded
for descending order.
|
static long |
DataDecoder.decodeLong(byte[] src,
int srcOffset)
Decodes a signed long from exactly 8 bytes.
|
static long |
KeyDecoder.decodeLongDesc(byte[] src,
int srcOffset)
Decodes a signed long from exactly 8 bytes, as encoded for descending
order.
|
static java.lang.Long |
DataDecoder.decodeLongObj(byte[] src,
int srcOffset)
Decodes a signed Long object from exactly 1 or 9 bytes.
|
static java.lang.Long |
KeyDecoder.decodeLongObjDesc(byte[] src,
int srcOffset)
Decodes a signed Long object from exactly 1 or 9 bytes, as encoded for
descending order.
|
abstract void |
CustomStorableCodec.decodePrimaryKey(S storable,
byte[] bytes)
Decode the primary key into properties of the storable.
|
static short |
DataDecoder.decodeShort(byte[] src,
int srcOffset)
Decodes a signed short from exactly 2 bytes.
|
static short |
KeyDecoder.decodeShortDesc(byte[] src,
int srcOffset)
Decodes a signed short from exactly 2 bytes, as encoded for descending
order.
|
static java.lang.Short |
DataDecoder.decodeShortObj(byte[] src,
int srcOffset)
Decodes a signed Short object from exactly 1 or 3 bytes.
|
static java.lang.Short |
KeyDecoder.decodeShortObjDesc(byte[] src,
int srcOffset)
Decodes a signed Short object from exactly 1 or 3 bytes, as encoded for
descending order.
|
static byte[] |
DataDecoder.decodeSingle(byte[] src,
int prefixPadding,
int suffixPadding)
Decodes the given byte array which was encoded by
DataEncoder.encodeSingle(byte[], int, int) . |
static byte[] |
KeyDecoder.decodeSingleDesc(byte[] src)
Decodes the given byte array which was encoded by
KeyEncoder.encodeSingleDesc(byte[]) . |
static byte[] |
KeyDecoder.decodeSingleDesc(byte[] src,
int prefixPadding,
int suffixPadding)
Decodes the given byte array which was encoded by
KeyEncoder.encodeSingleDesc(byte[]) . |
static byte[] |
DataDecoder.decodeSingleNullable(byte[] src)
Decodes the given byte array which was encoded by
DataEncoder.encodeSingleNullable(byte[]) . |
static byte[] |
DataDecoder.decodeSingleNullable(byte[] src,
int prefixPadding,
int suffixPadding)
Decodes the given byte array which was encoded by
DataEncoder.encodeSingleNullable(byte[]) . |
static byte[] |
KeyDecoder.decodeSingleNullableDesc(byte[] src)
Decodes the given byte array which was encoded by
KeyEncoder.encodeSingleNullableDesc(byte[]) . |
static byte[] |
KeyDecoder.decodeSingleNullableDesc(byte[] src,
int prefixPadding,
int suffixPadding)
Decodes the given byte array which was encoded by
KeyEncoder.encodeSingleNullableDesc(byte[]) . |
static int |
KeyDecoder.decodeString(byte[] src,
int srcOffset,
java.lang.String[] valueRef)
Decodes an encoded string from the given byte array.
|
static int |
DataDecoder.decodeString(byte[] src,
int srcOffset,
java.lang.String[] valueRef)
Decodes an encoded string from the given byte array.
|
static int |
KeyDecoder.decodeStringDesc(byte[] src,
int srcOffset,
java.lang.String[] valueRef)
Decodes an encoded string from the given byte array as originally
encoded for descending order.
|
static byte[] |
GzipCompressor.decompress(byte[] value,
int prefix)
Decodes from compressed form.
|
Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.