public class TestCellUtil extends Object
Modifier and Type | Class and Description |
---|---|
private class |
TestCellUtil.CellForMockito |
private static class |
TestCellUtil.NonExtendedCell |
private static class |
TestCellUtil.TestCell
Cell used in test.
|
private static class |
TestCellUtil.TestCellScannable
CellScannable used in test.
|
private static class |
TestCellUtil.TestCellScanner
CellScanner used in test.
|
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
Constructor and Description |
---|
TestCellUtil() |
Modifier and Type | Method and Description |
---|---|
private 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 |
testCellFieldsAsPrimitiveTypesFromByteBufferedCell() |
void |
testCloneCellFieldsFromByteBufferedCell() |
void |
testCreateCellScannerOverflow()
Was overflowing if 100k or so lists of cellscanners to return.
|
void |
testFindCommonPrefixInFlatKey() |
void |
testGetType() |
void |
testMatchingCellFieldsFromByteBufferedCell() |
void |
testOverlappingKeys() |
void |
testToString()
Assert CellUtil makes Cell toStrings same way we do KeyValue toStrings.
|
void |
testToString1() |
void |
testWriteCell() |
public static final HBaseClassTestRule CLASS_RULE
public TestCellUtil()
public void testCreateCellScannerOverflow() throws IOException
IOException
private org.apache.hadoop.hbase.CellScanner doCreateCellArray(int itemsPerList)
private org.apache.hadoop.hbase.CellScanner doCreateCellScanner(int listsCount, int itemsPerList)
private void consume(org.apache.hadoop.hbase.CellScanner scanner, int expected) throws IOException
IOException
public void testOverlappingKeys()
public void testFindCommonPrefixInFlatKey()
public void testToString()
public void testToString1()
public void testCloneCellFieldsFromByteBufferedCell()
public void testMatchingCellFieldsFromByteBufferedCell()
public void testCellFieldsAsPrimitiveTypesFromByteBufferedCell()
public void testWriteCell() throws IOException
IOException
public void testGetType()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.