public class TestKeyValue extends Object
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
| Constructor and Description |
|---|
TestKeyValue() |
| Modifier and Type | Method and Description |
|---|---|
void |
testBasics() |
void |
testBinaryKeys() |
void |
testCheckKeyValueBytesFailureCase() |
void |
testColumnCompare_prefix()
Test a corner case when the family qualifier is a prefix of the
column qualifier.
|
void |
testColumnCompare() |
void |
testCompareWithoutRow() |
void |
testCreateKeyOnly() |
void |
testCreateKeyValueFromKey() |
void |
testEqualsAndHashCode() |
void |
testFirstLastOnRow() |
void |
testGetTimestamp()
Tests that getTimestamp() does always return the proper timestamp, even after updating it.
|
void |
testKeyValueBorderCases()
Tests cases where rows keys have characters below the ','.
|
void |
testKeyValueSerialization() |
void |
testKVsWithTags() |
void |
testMetaComparatorTableKeysWithCommaOk() |
void |
testMetaKeyComparator() |
void |
testMoreComparisons() |
void |
testPlainCompare() |
void |
testStackedUpKeyValue() |
public static final HBaseClassTestRule CLASS_RULE
public TestKeyValue()
public void testColumnCompare() throws Exception
Exceptionpublic void testColumnCompare_prefix() throws Exception
Exceptionpublic void testBasics() throws Exception
Exceptionpublic void testPlainCompare() throws Exception
Exceptionpublic void testMoreComparisons() throws Exception
Exceptionpublic void testMetaComparatorTableKeysWithCommaOk()
public void testKeyValueBorderCases() throws IOException
IOExceptionpublic void testBinaryKeys() throws Exception
Exceptionpublic void testStackedUpKeyValue()
public void testCompareWithoutRow()
public void testFirstLastOnRow()
public void testCreateKeyOnly() throws Exception
Exceptionpublic void testCreateKeyValueFromKey()
public void testGetTimestamp()
public void testKVsWithTags()
public void testMetaKeyComparator()
public void testEqualsAndHashCode() throws Exception
Exceptionpublic void testKeyValueSerialization() throws Exception
Exceptionpublic void testCheckKeyValueBytesFailureCase() throws Exception
ExceptionCopyright © 2007–2019 Cloudera. All rights reserved.