Uses of Interface
org.apache.hadoop.hbase.types.DataType
Packages that use DataType
Package
Description
This package provides the definition and implementation of HBase's
extensible data type API.
-
Uses of DataType in org.apache.hadoop.hbase.types
Classes in org.apache.hadoop.hbase.types that implement DataTypeModifier and TypeClassDescriptionclass
Wraps an existingDataType
implementation as a fixed-length version of itself.class
Abyte[]
of variable-length.class
An alternative toOrderedBlob
for use byStruct
fields that do not terminate the fields list.class
Base class for data types backed by theOrderedBytes
encoding implementations.class
Afloat
of 32-bits using a fixed-length encoding.class
Adouble
of 64-bits using a fixed-length encoding.class
Ashort
of 16-bits using a fixed-length encoding.class
Anint
of 32-bits using a fixed-length encoding.class
Along
of 64-bits using a fixed-length encoding.class
Abyte
of 8-bits using a fixed-length encoding.class
AnNumber
of arbitrary precision and variable-length encoding.class
AString
of variable-length.class
An example for using protobuf objects withDataType
API.class
PBType<T extends org.apache.hbase.thirdparty.com.google.protobuf.Message>
A base-class forDataType
implementations backed by protobuf.class
AnDataType
for interacting with values encoded usingBytes.putByte(byte[], int, byte)
.class
AnDataType
for interacting with variable-length values encoded usingBytes.putBytes(byte[], int, byte[], int, int)
.class
AnDataType
that encodes fixed-length values encoded usingBytes.putBytes(byte[], int, byte[], int, int)
.class
AnDataType
that encodes variable-length values encoded usingBytes.putBytes(byte[], int, byte[], int, int)
.class
AnDataType
for interacting with values encoded usingBytes.putDouble(byte[], int, double)
.class
AnDataType
for interacting with values encoded usingBytes.putFloat(byte[], int, float)
.class
AnDataType
for interacting with values encoded usingBytes.putInt(byte[], int, int)
.class
AnDataType
for interacting with values encoded usingBytes.putLong(byte[], int, long)
.class
AnDataType
for interacting with values encoded usingBytes.putShort(byte[], int, short)
.class
AnDataType
for interacting with values encoded usingBytes.toBytes(String)
.class
AnDataType
that encodes fixed-length values encoded usingBytes.toBytes(String)
.class
AnDataType
that encodes variable-length values encoded usingBytes.toBytes(String)
.class
Struct
is a simpleDataType
for implementing "compound rowkey" and "compound qualifier" schema design strategies.class
Wraps an existingDataType
implementation as a terminated version of itself.class
Union2<A,
B> class
Union3<A,
B, C> TheUnion
family ofDataType
s encode one of a fixed collection of Objects.class
Union4<A,
B, C, D> TheUnion
family ofDataType
s encode one of a fixed collection of Objects.Fields in org.apache.hadoop.hbase.types declared as DataTypeModifier and TypeFieldDescriptionFixedLengthWrapper.base
protected final DataType[]
Struct.fields
Union2.typeA
Union2.typeB
Union3.typeC
Union4.typeD
protected final DataType[]
StructIterator.types
TerminatedWrapper.wrapped
Fields in org.apache.hadoop.hbase.types with type parameters of type DataTypeMethods in org.apache.hadoop.hbase.types with parameters of type DataTypeModifier and TypeMethodDescriptionAppendfield
to the sequence of accumulated fields.Constructors in org.apache.hadoop.hbase.types with parameters of type DataTypeModifierConstructorDescriptionFixedLengthWrapper
(DataType<T> base, int length) Create a fixed-length version of thewrapped
.Create a newStruct
instance defined as the sequence ofHDataType
s inmemberTypes
.StructIterator
(PositionedByteRange src, DataType[] types) ConstructStructIterator
over the values encoded insrc
using the specifiedtypes
definition.TerminatedWrapper
(DataType<T> wrapped, byte[] term) Create a terminated version of thewrapped
.TerminatedWrapper
(DataType<T> wrapped, String term) Create a terminated version of thewrapped
.Create an instance ofUnion2
over the set of specified types.Create an instance ofUnion3
over the set of specified types.Create an instance ofUnion4
over the set of specified types.