Package org.apache.hadoop.hbase.types
Class TestStruct.SpecializedPojo2Type1
java.lang.Object
org.apache.hadoop.hbase.types.TestStruct.SpecializedPojo2Type1
- All Implemented Interfaces:
org.apache.hadoop.hbase.types.DataType<TestStruct.Pojo2>
- Enclosing class:
- TestStruct
private static class TestStruct.SpecializedPojo2Type1
extends Object
implements org.apache.hadoop.hbase.types.DataType<TestStruct.Pojo2>
A custom data type implementation specialized for
TestStruct.Pojo2
.-
Field Summary
Modifier and TypeFieldDescriptionprivate static org.apache.hadoop.hbase.types.RawBytesTerminated
private static org.apache.hadoop.hbase.types.RawBytesTerminated
private static org.apache.hadoop.hbase.types.RawBytes
static org.apache.hadoop.hbase.types.Struct
TheStruct
equivalent of this type.private static org.apache.hadoop.hbase.types.RawStringTerminated
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondecode
(org.apache.hadoop.hbase.util.PositionedByteRange src) int
encode
(org.apache.hadoop.hbase.util.PositionedByteRange dst, TestStruct.Pojo2 val) int
org.apache.hadoop.hbase.util.Order
getOrder()
boolean
boolean
boolean
int
skip
(org.apache.hadoop.hbase.util.PositionedByteRange src)
-
Field Details
-
byteField1
-
byteField2
-
stringField
-
byteField3
-
GENERIC
TheStruct
equivalent of this type.
-
-
Constructor Details
-
SpecializedPojo2Type1
private SpecializedPojo2Type1()
-
-
Method Details
-
isOrderPreserving
- Specified by:
isOrderPreserving
in interfaceorg.apache.hadoop.hbase.types.DataType<TestStruct.Pojo2>
-
getOrder
- Specified by:
getOrder
in interfaceorg.apache.hadoop.hbase.types.DataType<TestStruct.Pojo2>
-
isNullable
- Specified by:
isNullable
in interfaceorg.apache.hadoop.hbase.types.DataType<TestStruct.Pojo2>
-
isSkippable
- Specified by:
isSkippable
in interfaceorg.apache.hadoop.hbase.types.DataType<TestStruct.Pojo2>
-
encodedLength
- Specified by:
encodedLength
in interfaceorg.apache.hadoop.hbase.types.DataType<TestStruct.Pojo2>
-
encodedClass
- Specified by:
encodedClass
in interfaceorg.apache.hadoop.hbase.types.DataType<TestStruct.Pojo2>
-
skip
- Specified by:
skip
in interfaceorg.apache.hadoop.hbase.types.DataType<TestStruct.Pojo2>
-
decode
- Specified by:
decode
in interfaceorg.apache.hadoop.hbase.types.DataType<TestStruct.Pojo2>
-
encode
- Specified by:
encode
in interfaceorg.apache.hadoop.hbase.types.DataType<TestStruct.Pojo2>
-