private static class TestUnion2.SampleUnion1 extends org.apache.hadoop.hbase.types.Union2<Integer,String>
Union
Modifier and Type | Field and Description |
---|---|
private static byte |
IS_INTEGER |
private static byte |
IS_STRING |
Constructor and Description |
---|
SampleUnion1() |
Modifier and Type | Method and Description |
---|---|
Object |
decode(org.apache.hadoop.hbase.util.PositionedByteRange src) |
int |
encode(org.apache.hadoop.hbase.util.PositionedByteRange dst,
Object val) |
int |
encodedLength(Object val) |
int |
skip(org.apache.hadoop.hbase.util.PositionedByteRange src) |
private static final byte IS_INTEGER
private static final byte IS_STRING
public SampleUnion1()
public int skip(org.apache.hadoop.hbase.util.PositionedByteRange src)
public int encodedLength(Object val)
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.