Package | Description |
---|---|
org.apache.hadoop.hbase.types |
This package provides the definition and implementation of HBase's
extensible data type API.
|
org.apache.hadoop.hbase.util |
Modifier and Type | Field and Description |
---|---|
protected Order |
OrderedBytesBase.order |
protected Order |
RawBytes.order |
protected Order |
RawString.order |
Modifier and Type | Method and Description |
---|---|
Order |
RawInteger.getOrder() |
Order |
RawDouble.getOrder() |
Order |
PBType.getOrder() |
Order |
DataType.getOrder()
Retrieve the sort
Order imposed by this data type, or null when
natural ordering is not preserved. |
Order |
RawFloat.getOrder() |
Order |
TerminatedWrapper.getOrder() |
Order |
OrderedBytesBase.getOrder() |
Order |
RawShort.getOrder() |
Order |
RawBytes.getOrder() |
Order |
Union3.getOrder() |
Order |
FixedLengthWrapper.getOrder() |
Order |
Union2.getOrder() |
Order |
RawString.getOrder() |
Order |
RawByte.getOrder() |
Order |
Union4.getOrder() |
Order |
Struct.getOrder() |
Order |
RawLong.getOrder() |
Constructor and Description |
---|
OrderedBlob(Order order) |
OrderedBlobVar(Order order) |
OrderedBytesBase(Order order) |
OrderedFloat32(Order order) |
OrderedFloat64(Order order) |
OrderedInt16(Order order) |
OrderedInt32(Order order) |
OrderedInt64(Order order) |
OrderedInt8(Order order) |
OrderedNumeric(Order order) |
OrderedString(Order order) |
RawBytes(Order order) |
RawBytesFixedLength(Order order,
int length)
Create a
RawBytesFixedLength using the specified order
and length . |
RawBytesTerminated(Order order,
byte[] term)
Create a
RawBytesTerminated using the specified terminator and
order . |
RawBytesTerminated(Order order,
String term)
Create a
RawBytesTerminated using the specified terminator and
order . |
RawString(Order order) |
RawStringFixedLength(Order order,
int length)
Create a
RawStringFixedLength using the specified
order and length . |
RawStringTerminated(Order order,
byte[] term)
Create a
RawStringTerminated using the specified terminator and
order . |
RawStringTerminated(Order order,
String term)
Create a
RawStringTerminated using the specified terminator and
order . |
Modifier and Type | Method and Description |
---|---|
static Order |
Order.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Order[] |
Order.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static int |
OrderedBytes.encodeBlobCopy(PositionedByteRange dst,
byte[] val,
int voff,
int vlen,
Order ord)
Encode a Blob value as a byte-for-byte copy.
|
static int |
OrderedBytes.encodeBlobCopy(PositionedByteRange dst,
byte[] val,
Order ord)
Encode a Blob value as a byte-for-byte copy.
|
static int |
OrderedBytes.encodeBlobVar(PositionedByteRange dst,
byte[] val,
int voff,
int vlen,
Order ord)
Encode a Blob value using a modified varint encoding scheme.
|
static int |
OrderedBytes.encodeBlobVar(PositionedByteRange dst,
byte[] val,
Order ord)
Encode a blob value using a modified varint encoding scheme.
|
static int |
OrderedBytes.encodeFloat32(PositionedByteRange dst,
float val,
Order ord)
Encode a 32-bit floating point value using the fixed-length encoding.
|
static int |
OrderedBytes.encodeFloat64(PositionedByteRange dst,
double val,
Order ord)
Encode a 64-bit floating point value using the fixed-length encoding.
|
static int |
OrderedBytes.encodeInt16(PositionedByteRange dst,
short val,
Order ord)
Encode an
int16 value using the fixed-length encoding. |
static int |
OrderedBytes.encodeInt32(PositionedByteRange dst,
int val,
Order ord)
Encode an
int32 value using the fixed-length encoding. |
static int |
OrderedBytes.encodeInt64(PositionedByteRange dst,
long val,
Order ord)
Encode an
int64 value using the fixed-length encoding. |
static int |
OrderedBytes.encodeInt8(PositionedByteRange dst,
byte val,
Order ord)
Encode an
int8 value using the fixed-length encoding. |
static int |
OrderedBytes.encodeNull(PositionedByteRange dst,
Order ord)
Encode a null value.
|
static int |
OrderedBytes.encodeNumeric(PositionedByteRange dst,
BigDecimal val,
Order ord)
Encode a numerical value using the variable-length encoding.
|
static int |
OrderedBytes.encodeNumeric(PositionedByteRange dst,
double val,
Order ord)
Encode a numerical value using the variable-length encoding.
|
static int |
OrderedBytes.encodeNumeric(PositionedByteRange dst,
long val,
Order ord)
Encode a numerical value using the variable-length encoding.
|
static int |
OrderedBytes.encodeString(PositionedByteRange dst,
String val,
Order ord)
Encode a String value.
|
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.