Package org.apache.hadoop.hbase
Class TestCellUtil
java.lang.Object
org.apache.hadoop.hbase.TestCellUtil
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static class
Cell used in test.private static class
CellScannable used in test.private static class
CellScanner used in test. -
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
consume
(org.apache.hadoop.hbase.CellScanner scanner, int expected) private org.apache.hadoop.hbase.CellScanner
doCreateCellArray
(int itemsPerList) private org.apache.hadoop.hbase.CellScanner
doCreateCellScanner
(int listsCount, int itemsPerList) void
void
void
Was overflowing if 100k or so lists of cellscanners to return.void
void
void
void
void
Assert CellUtil makes Cell toStrings same way we do KeyValue toStrings.void
-
Field Details
-
CLASS_RULE
-
-
Constructor Details
-
TestCellUtil
public TestCellUtil()
-
-
Method Details
-
testCreateCellScannerOverflow
Was overflowing if 100k or so lists of cellscanners to return.- Throws:
IOException
-
doCreateCellArray
-
doCreateCellScanner
-
consume
- Throws:
IOException
-
testOverlappingKeys
-
testFindCommonPrefixInFlatKey
-
testToString
Assert CellUtil makes Cell toStrings same way we do KeyValue toStrings. -
testToString1
-
testCloneCellFieldsFromByteBufferedCell
-
testMatchingCellFieldsFromByteBufferedCell
-
testCellFieldsAsPrimitiveTypesFromByteBufferedCell
-
testGetType
-