Package org.apache.hadoop.hbase
Class TestIndividualBytesFieldCell
java.lang.Object
org.apache.hadoop.hbase.TestIndividualBytesFieldCell
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static org.apache.hadoop.hbase.IndividualBytesFieldCell
private static org.apache.hadoop.hbase.KeyValue
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
static void
void
void
void
void
void
void
void
void
Verify getXXXArray() and getXXXLength() when family/qualifier/value/tags are null.void
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
void
-
Field Details
-
CLASS_RULE
-
ic0
-
kv0
-
-
Constructor Details
-
TestIndividualBytesFieldCell
public TestIndividualBytesFieldCell()
-
-
Method Details
-
testConstructorAndVerify
-
testClone
- Throws:
CloneNotSupportedException
-
testWriteIntoKeyValueFormat
Verify KeyValue format related functions: write() and getSerializedSize(). Should have the same behaviors asKeyValue
.- Throws:
IOException
-
testWriteIntoOutputStream
private void testWriteIntoOutputStream(org.apache.hadoop.hbase.IndividualBytesFieldCell ic, org.apache.hadoop.hbase.KeyValue kv, boolean withTags) throws IOException - Parameters:
ic
- An instance of IndividualBytesFieldCell to compare.kv
- An instance of KeyValue to compare.withTags
- Whether to write tags.- Throws:
IOException
-
testNullFamilyQualifierValueTags
Verify getXXXArray() and getXXXLength() when family/qualifier/value/tags are null. Should have the same behaviors asKeyValue
. -
testIfExtendedCellImplemented
-
testIllegalRow
-
testIllegalFamily
-
testIllegalQualifier
-
testIllegalTimestamp
-
testIllegalValue
-
testIllegalTags
-
testWriteTag
- Throws:
IOException
-
testWriteValue
- Throws:
IOException
-