Package | Description |
---|---|
org.apache.hadoop.hbase.types |
This package provides the definition and implementation of HBase's
extensible data type API.
|
Modifier and Type | Class and Description |
---|---|
class |
FixedLengthWrapper<T>
Wraps an existing
DataType implementation as a fixed-length
version of itself. |
class |
OrderedBlob
A
byte[] of variable-length. |
class |
OrderedBlobVar
An alternative to
OrderedBlob for use by Struct fields that
do not terminate the fields list. |
class |
OrderedBytesBase<T>
Base class for data types backed by the
OrderedBytes encoding
implementations. |
class |
OrderedFloat32
A
float of 32-bits using a fixed-length encoding. |
class |
OrderedFloat64
A
double of 64-bits using a fixed-length encoding. |
class |
OrderedInt16
A
short of 16-bits using a fixed-length encoding. |
class |
OrderedInt32
An
int of 32-bits using a fixed-length encoding. |
class |
OrderedInt64
A
long of 64-bits using a fixed-length encoding. |
class |
OrderedInt8
A
byte of 8-bits using a fixed-length encoding. |
class |
OrderedNumeric
An
Number of arbitrary precision and variable-length encoding. |
class |
OrderedString
A
String of variable-length. |
class |
PBType<T extends com.google.protobuf.Message>
Deprecated.
Will be removed in 3.0.0 without replacement. It should not be a public API as it
exposes the protobuf stuff. Users who depend on this class should just copy the code
your own code base.
|
class |
RawByte
An
DataType for interacting with values encoded using
Bytes.putByte(byte[], int, byte) . |
class |
RawBytes
An
DataType for interacting with variable-length values
encoded using Bytes.putBytes(byte[], int, byte[], int, int) . |
class |
RawBytesFixedLength
An
DataType that encodes fixed-length values encoded using
Bytes.putBytes(
byte[], int, byte[], int, int) . |
class |
RawBytesTerminated
An
DataType that encodes variable-length values encoded using
Bytes.putBytes(byte[], int, byte[], int, int) . |
class |
RawDouble
An
DataType for interacting with values encoded using
Bytes.putDouble(byte[], int, double) . |
class |
RawFloat
An
DataType for interacting with values encoded using
Bytes.putFloat(byte[], int, float) . |
class |
RawInteger
An
DataType for interacting with values encoded using
Bytes.putInt(byte[], int, int) . |
class |
RawLong
An
DataType for interacting with values encoded using
Bytes.putLong(byte[], int, long) . |
class |
RawShort
An
DataType for interacting with values encoded using
Bytes.putShort(byte[], int, short) . |
class |
RawString
An
DataType for interacting with values encoded using
Bytes.toBytes(String) . |
class |
RawStringFixedLength
An
DataType that encodes fixed-length values encoded using
Bytes.toBytes(String) . |
class |
RawStringTerminated
An
DataType that encodes variable-length values encoded using
Bytes.toBytes(String) . |
class |
Struct
Struct is a simple DataType for implementing "compound
rowkey" and "compound qualifier" schema design strategies. |
class |
TerminatedWrapper<T>
Wraps an existing
DataType implementation as a terminated
version of itself. |
class |
Union2<A,B>
|
class |
Union3<A,B,C>
The
Union family of DataType s encode one of a fixed
collection of Objects. |
class |
Union4<A,B,C,D>
The
Union family of DataType s encode one of a fixed
collection of Objects. |
Modifier and Type | Field and Description |
---|---|
protected DataType<T> |
FixedLengthWrapper.base |
protected DataType[] |
Struct.fields |
protected DataType<A> |
Union2.typeA |
protected DataType<B> |
Union2.typeB |
protected DataType<C> |
Union3.typeC |
protected DataType<D> |
Union4.typeD |
protected DataType[] |
StructIterator.types |
protected DataType<T> |
TerminatedWrapper.wrapped |
Modifier and Type | Field and Description |
---|---|
protected List<DataType<?>> |
StructBuilder.fields |
Modifier and Type | Method and Description |
---|---|
StructBuilder |
StructBuilder.add(DataType<?> field)
Append
field to the sequence of accumulated fields. |
Constructor and Description |
---|
FixedLengthWrapper(DataType<T> base,
int length)
Create a fixed-length version of the
wrapped . |
Struct(DataType[] memberTypes)
Create a new
Struct instance defined as the sequence of
HDataType s in memberTypes . |
StructIterator(PositionedByteRange src,
DataType[] types)
Construct
StructIterator over the values encoded in src
using the specified types definition. |
TerminatedWrapper(DataType<T> wrapped,
byte[] term)
Create a terminated version of the
wrapped . |
TerminatedWrapper(DataType<T> wrapped,
String term)
Create a terminated version of the
wrapped . |
Union2(DataType<A> typeA,
DataType<B> typeB)
Create an instance of
Union2 over the set of specified
types. |
Union2(DataType<A> typeA,
DataType<B> typeB)
Create an instance of
Union2 over the set of specified
types. |
Union3(DataType<A> typeA,
DataType<B> typeB,
DataType<C> typeC)
Create an instance of
Union3 over the set of specified
types. |
Union3(DataType<A> typeA,
DataType<B> typeB,
DataType<C> typeC)
Create an instance of
Union3 over the set of specified
types. |
Union3(DataType<A> typeA,
DataType<B> typeB,
DataType<C> typeC)
Create an instance of
Union3 over the set of specified
types. |
Union4(DataType<A> typeA,
DataType<B> typeB,
DataType<C> typeC,
DataType<D> typeD)
Create an instance of
Union4 over the set of specified
types. |
Union4(DataType<A> typeA,
DataType<B> typeB,
DataType<C> typeC,
DataType<D> typeD)
Create an instance of
Union4 over the set of specified
types. |
Union4(DataType<A> typeA,
DataType<B> typeB,
DataType<C> typeC,
DataType<D> typeD)
Create an instance of
Union4 over the set of specified
types. |
Union4(DataType<A> typeA,
DataType<B> typeB,
DataType<C> typeC,
DataType<D> typeD)
Create an instance of
Union4 over the set of specified
types. |
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.