Package org.apache.hadoop.hbase.types
Class TestStruct.SpecializedPojo1Type1
java.lang.Object
org.apache.hadoop.hbase.types.TestStruct.SpecializedPojo1Type1
- All Implemented Interfaces:
org.apache.hadoop.hbase.types.DataType<TestStruct.Pojo1>
- Enclosing class:
- TestStruct
private static class TestStruct.SpecializedPojo1Type1
extends Object
implements org.apache.hadoop.hbase.types.DataType<TestStruct.Pojo1>
A custom data type implementation specialized for
TestStruct.Pojo1
.-
Field Summary
Modifier and TypeFieldDescriptionprivate static final org.apache.hadoop.hbase.types.RawDouble
static org.apache.hadoop.hbase.types.Struct
TheStruct
equivalent of this type.private static final org.apache.hadoop.hbase.types.RawInteger
private static final 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.Pojo1 val) int
org.apache.hadoop.hbase.util.Order
getOrder()
boolean
boolean
boolean
int
skip
(org.apache.hadoop.hbase.util.PositionedByteRange src)
-
Field Details
-
stringField
-
intField
-
doubleField
-
GENERIC
TheStruct
equivalent of this type.
-
-
Constructor Details
-
SpecializedPojo1Type1
private SpecializedPojo1Type1()
-
-
Method Details
-
isOrderPreserving
- Specified by:
isOrderPreserving
in interfaceorg.apache.hadoop.hbase.types.DataType<TestStruct.Pojo1>
-
getOrder
- Specified by:
getOrder
in interfaceorg.apache.hadoop.hbase.types.DataType<TestStruct.Pojo1>
-
isNullable
- Specified by:
isNullable
in interfaceorg.apache.hadoop.hbase.types.DataType<TestStruct.Pojo1>
-
isSkippable
- Specified by:
isSkippable
in interfaceorg.apache.hadoop.hbase.types.DataType<TestStruct.Pojo1>
-
encodedLength
- Specified by:
encodedLength
in interfaceorg.apache.hadoop.hbase.types.DataType<TestStruct.Pojo1>
-
encodedClass
- Specified by:
encodedClass
in interfaceorg.apache.hadoop.hbase.types.DataType<TestStruct.Pojo1>
-
skip
- Specified by:
skip
in interfaceorg.apache.hadoop.hbase.types.DataType<TestStruct.Pojo1>
-
decode
- Specified by:
decode
in interfaceorg.apache.hadoop.hbase.types.DataType<TestStruct.Pojo1>
-
encode
- Specified by:
encode
in interfaceorg.apache.hadoop.hbase.types.DataType<TestStruct.Pojo1>
-