Package org.apache.hadoop.hbase
Class TestCellUtil
java.lang.Object
org.apache.hadoop.hbase.TestCellUtil
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classprivate static classprivate static classCell used in test.private static classCellScannable used in test.private static classCellScanner used in test. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidconsume(org.apache.hadoop.hbase.CellScanner scanner, int expected) private org.apache.hadoop.hbase.CellScannerdoCreateCellArray(int itemsPerList) private org.apache.hadoop.hbase.CellScannerdoCreateCellScanner(int listsCount, int itemsPerList) voidvoidvoidWas overflowing if 100k or so lists of cellscanners to return.voidvoidvoidvoidvoidAssert CellUtil makes Cell toStrings same way we do KeyValue toStrings.voidvoid
-
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
-
testWriteCell
- Throws:
IOException
-
testGetType
-