public class MobTestUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static char |
FIRST_CHAR |
protected static char |
LAST_CHAR |
| Constructor and Description |
|---|
MobTestUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
assertCellEquals(Cell firstKeyValue,
Cell secondKeyValue)
Compare two Cells only for their row family qualifier value
|
static void |
assertCellsValue(Table table,
Scan scan,
byte[] expectedValue,
int expectedCount) |
protected static String |
generateRandomString(int demoLength) |
protected static void |
writeStoreFile(StoreFileWriter writer,
String caseName) |
protected static final char FIRST_CHAR
protected static final char LAST_CHAR
public MobTestUtil()
protected static String generateRandomString(int demoLength)
protected static void writeStoreFile(StoreFileWriter writer, String caseName) throws IOException
IOExceptionpublic static void assertCellEquals(Cell firstKeyValue, Cell secondKeyValue)
public static void assertCellsValue(Table table, Scan scan, byte[] expectedValue, int expectedCount) throws IOException
IOExceptionCopyright © 2007–2019 Cloudera. All rights reserved.