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
FieldsModifier and TypeFieldDescriptionprivate static final org.apache.hadoop.hbase.types.RawDoublestatic org.apache.hadoop.hbase.types.StructTheStructequivalent of this type.private static final org.apache.hadoop.hbase.types.RawIntegerprivate static final org.apache.hadoop.hbase.types.RawStringTerminated -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondecode(org.apache.hadoop.hbase.util.PositionedByteRange src) intencode(org.apache.hadoop.hbase.util.PositionedByteRange dst, TestStruct.Pojo1 val) intorg.apache.hadoop.hbase.util.OrdergetOrder()booleanbooleanbooleanintskip(org.apache.hadoop.hbase.util.PositionedByteRange src)
-
Field Details
-
stringField
-
intField
-
doubleField
-
GENERIC
TheStructequivalent of this type.
-
-
Constructor Details
-
SpecializedPojo1Type1
private SpecializedPojo1Type1()
-
-
Method Details
-
isOrderPreserving
- Specified by:
isOrderPreservingin interfaceorg.apache.hadoop.hbase.types.DataType<TestStruct.Pojo1>
-
getOrder
- Specified by:
getOrderin interfaceorg.apache.hadoop.hbase.types.DataType<TestStruct.Pojo1>
-
isNullable
- Specified by:
isNullablein interfaceorg.apache.hadoop.hbase.types.DataType<TestStruct.Pojo1>
-
isSkippable
- Specified by:
isSkippablein interfaceorg.apache.hadoop.hbase.types.DataType<TestStruct.Pojo1>
-
encodedLength
- Specified by:
encodedLengthin interfaceorg.apache.hadoop.hbase.types.DataType<TestStruct.Pojo1>
-
encodedClass
- Specified by:
encodedClassin interfaceorg.apache.hadoop.hbase.types.DataType<TestStruct.Pojo1>
-
skip
- Specified by:
skipin interfaceorg.apache.hadoop.hbase.types.DataType<TestStruct.Pojo1>
-
decode
- Specified by:
decodein interfaceorg.apache.hadoop.hbase.types.DataType<TestStruct.Pojo1>
-
encode
- Specified by:
encodein interfaceorg.apache.hadoop.hbase.types.DataType<TestStruct.Pojo1>
-