public class TestCellComparator extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private org.apache.hadoop.hbase.CellComparator |
comparator |
(package private) byte[] |
fam_1_2 |
(package private) byte[] |
fam1 |
(package private) byte[] |
fam2 |
(package private) byte[] |
qual1 |
(package private) byte[] |
qual2 |
(package private) byte[] |
row_1_0 |
(package private) byte[] |
row1 |
(package private) byte[] |
row2 |
(package private) byte[] |
val |
Constructor and Description |
---|
TestCellComparator() |
Modifier and Type | Method and Description |
---|---|
private static org.apache.hadoop.hbase.Cell |
createByteBufferKeyValueFromKeyValue(org.apache.hadoop.hbase.KeyValue kv) |
void |
testBinaryKeys() |
void |
testCompareByteBufferedCell() |
void |
testCompareCells() |
void |
testCompareCellWithKey() |
void |
testMetaComparisons()
Test meta comparisons using our new ByteBufferKeyValue Cell type, the type we use everywhere
in 2.0.
|
void |
testMetaComparisons2()
More tests using ByteBufferKeyValue copied over from TestKeyValue which uses old KVs only.
|
public static final HBaseClassTestRule CLASS_RULE
private org.apache.hadoop.hbase.CellComparator comparator
byte[] row1
byte[] row2
byte[] row_1_0
byte[] fam1
byte[] fam2
byte[] fam_1_2
byte[] qual1
byte[] qual2
byte[] val
public TestCellComparator()
public void testCompareCells()
public void testCompareCellWithKey() throws Exception
Exception
public void testCompareByteBufferedCell()
public void testMetaComparisons() throws Exception
Exception
private static org.apache.hadoop.hbase.Cell createByteBufferKeyValueFromKeyValue(org.apache.hadoop.hbase.KeyValue kv)
public void testMetaComparisons2()
public void testBinaryKeys() throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.