public class TestStruct extends Object
Struct
. TestStruct.SpecializedPojo1Type1
demonstrates how one might create
their own custom data type extension for an application POJO.Modifier and Type | Class and Description |
---|---|
private static class |
TestStruct.Pojo1
A simple object to serialize.
|
private static class |
TestStruct.Pojo2
A simple object to serialize.
|
private static class |
TestStruct.SpecializedPojo1Type1
A custom data type implementation specialized for
TestStruct.Pojo1 . |
private static class |
TestStruct.SpecializedPojo2Type1
A custom data type implementation specialized for
TestStruct.Pojo2 . |
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
Object[][] |
constructorArgs |
org.apache.hadoop.hbase.types.Struct |
generic |
(package private) static Comparator<byte[]> |
NULL_SAFE_BYTES_COMPARATOR |
org.apache.hadoop.hbase.types.DataType |
specialized |
Constructor and Description |
---|
TestStruct() |
Modifier and Type | Method and Description |
---|---|
static Collection<Object[]> |
params() |
void |
testOrderPreservation() |
public static final HBaseClassTestRule CLASS_RULE
public org.apache.hadoop.hbase.types.Struct generic
public org.apache.hadoop.hbase.types.DataType specialized
public Object[][] constructorArgs
static final Comparator<byte[]> NULL_SAFE_BYTES_COMPARATOR
public TestStruct()
public static Collection<Object[]> params()
public void testOrderPreservation() throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.