public class TestIndividualBytesFieldCell extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static org.apache.hadoop.hbase.IndividualBytesFieldCell |
ic0 |
private static org.apache.hadoop.hbase.KeyValue |
kv0 |
Constructor and Description |
---|
TestIndividualBytesFieldCell() |
Modifier and Type | Method and Description |
---|---|
void |
testClone() |
static void |
testConstructorAndVerify() |
void |
testIfExtendedCellImplemented() |
void |
testIllegalFamily() |
void |
testIllegalQualifier() |
void |
testIllegalRow() |
void |
testIllegalTags() |
void |
testIllegalTimestamp() |
void |
testIllegalValue() |
void |
testNullFamilyQualifierValueTags()
Verify getXXXArray() and getXXXLength() when family/qualifier/value/tags are null.
|
void |
testWriteIntoKeyValueFormat()
Verify KeyValue format related functions: write() and getSerializedSize().
|
private void |
testWriteIntoOutputStream(org.apache.hadoop.hbase.IndividualBytesFieldCell ic,
org.apache.hadoop.hbase.KeyValue kv,
boolean withTags) |
void |
testWriteTag() |
void |
testWriteValue() |
public static final HBaseClassTestRule CLASS_RULE
private static org.apache.hadoop.hbase.IndividualBytesFieldCell ic0
private static org.apache.hadoop.hbase.KeyValue kv0
public TestIndividualBytesFieldCell()
public static void testConstructorAndVerify()
public void testClone() throws CloneNotSupportedException
CloneNotSupportedException
public void testWriteIntoKeyValueFormat() throws IOException
KeyValue
.IOException
private void testWriteIntoOutputStream(org.apache.hadoop.hbase.IndividualBytesFieldCell ic, org.apache.hadoop.hbase.KeyValue kv, boolean withTags) throws IOException
ic
- An instance of IndividualBytesFieldCell to compare.kv
- An instance of KeyValue to compare.withTags
- Whether to write tags.IOException
public void testNullFamilyQualifierValueTags()
KeyValue
.public void testIfExtendedCellImplemented()
public void testIllegalRow()
public void testIllegalFamily()
public void testIllegalQualifier()
public void testIllegalTimestamp()
public void testIllegalValue()
public void testIllegalTags()
public void testWriteTag() throws IOException
IOException
public void testWriteValue() throws IOException
IOException
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.