Uses of Enum Class
org.apache.hadoop.hbase.util.Order
Package
Description
This package provides the definition and implementation of HBase's
extensible data type API.
-
Uses of Order in org.apache.hadoop.hbase.types
Modifier and TypeFieldDescriptionprotected final Order
OrderedBytesBase.order
protected final Order
RawBytes.order
protected final Order
RawString.order
Modifier and TypeMethodDescriptionDataType.getOrder()
Retrieve the sortOrder
imposed by this data type, or null when natural ordering is not preserved.FixedLengthWrapper.getOrder()
OrderedBytesBase.getOrder()
PBType.getOrder()
RawByte.getOrder()
RawBytes.getOrder()
RawDouble.getOrder()
RawFloat.getOrder()
RawInteger.getOrder()
RawLong.getOrder()
RawShort.getOrder()
RawString.getOrder()
Struct.getOrder()
TerminatedWrapper.getOrder()
Union2.getOrder()
Union3.getOrder()
Union4.getOrder()
ModifierConstructorDescriptionOrderedBlob
(Order order) Creates a newbyte[]
with variable length.OrderedBlobVar
(Order order) OrderedBytesBase
(Order order) OrderedFloat32
(Order order) Creates a new 32-bitfloat
with a fixed-length encoding.OrderedFloat64
(Order order) Creates a new 64-bitedouble
with a fixed-length encoding.OrderedInt16
(Order order) Creates a new 16-bitshort
with a fixed-length encoding.OrderedInt32
(Order order) Creates a new 32-bitint
with a fixed-length encoding.OrderedInt64
(Order order) Creates a new 64-bitlong
with a fixed-length encoding.OrderedInt8
(Order order) Creates a new 8-bitbyte
with a fixed-length encoding.OrderedNumeric
(Order order) Creates a newNumber
of arbitrary precision and variable-length encoding.OrderedString
(Order order) Creates a new variable-lengthString
.Creates a newDataType
with variable-length values.RawBytesFixedLength
(Order order, int length) Create aRawBytesFixedLength
using the specifiedorder
andlength
.RawBytesTerminated
(Order order, byte[] term) Create aRawBytesTerminated
using the specified terminator andorder
.RawBytesTerminated
(Order order, String term) Create aRawBytesTerminated
using the specified terminator andorder
.Creates a newDataType
for interacting with values encoded usingBytes.toBytes(String)
.RawStringFixedLength
(Order order, int length) Create aRawStringFixedLength
using the specifiedorder
andlength
.RawStringTerminated
(Order order, byte[] term) Create aRawStringTerminated
using the specified terminator andorder
.RawStringTerminated
(Order order, String term) Create aRawStringTerminated
using the specified terminator andorder
. -
Uses of Order in org.apache.hadoop.hbase.util
Modifier and TypeMethodDescriptionstatic Order
Returns the enum constant of this class with the specified name.static Order[]
Order.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionstatic 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 anint16
value using the fixed-length encoding.static int
OrderedBytes.encodeInt32
(PositionedByteRange dst, int val, Order ord) Encode anint32
value using the fixed-length encoding.static int
OrderedBytes.encodeInt64
(PositionedByteRange dst, long val, Order ord) Encode anint64
value using the fixed-length encoding.static int
OrderedBytes.encodeInt8
(PositionedByteRange dst, byte val, Order ord) Encode anint8
value using the fixed-length encoding.static int
OrderedBytes.encodeNull
(PositionedByteRange dst, Order ord) Encode a null value.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.encodeNumeric
(PositionedByteRange dst, BigDecimal 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.