Package org.apache.hadoop.hbase
Class TestIndividualBytesFieldCell
java.lang.Object
org.apache.hadoop.hbase.TestIndividualBytesFieldCell
- 
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate static org.apache.hadoop.hbase.IndividualBytesFieldCellprivate static org.apache.hadoop.hbase.KeyValue - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidstatic voidvoidvoidvoidvoidvoidvoidvoidvoidVerify getXXXArray() and getXXXLength() when family/qualifier/value/tags are null.voidVerify KeyValue format related functions: write() and getSerializedSize().private voidtestWriteIntoOutputStream(org.apache.hadoop.hbase.IndividualBytesFieldCell ic, org.apache.hadoop.hbase.KeyValue kv, boolean withTags) voidvoid 
- 
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
 
 -