public class TestKeyValueHeap extends HBaseTestCase
Modifier and Type | Class and Description |
---|---|
private static class |
TestKeyValueHeap.SeekTestScanner |
private static class |
TestKeyValueHeap.TestScanner |
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private byte[] |
col1 |
private byte[] |
col2 |
private byte[] |
col3 |
private byte[] |
col4 |
private byte[] |
col5 |
private byte[] |
data |
private byte[] |
fam1 |
private byte[] |
fam2 |
(package private) org.apache.hadoop.hbase.Cell |
kv111 |
(package private) org.apache.hadoop.hbase.Cell |
kv112 |
(package private) org.apache.hadoop.hbase.Cell |
kv113 |
(package private) org.apache.hadoop.hbase.Cell |
kv114 |
(package private) org.apache.hadoop.hbase.Cell |
kv115 |
(package private) org.apache.hadoop.hbase.Cell |
kv121 |
(package private) org.apache.hadoop.hbase.Cell |
kv122 |
(package private) org.apache.hadoop.hbase.Cell |
kv211 |
(package private) org.apache.hadoop.hbase.Cell |
kv212 |
(package private) org.apache.hadoop.hbase.Cell |
kv213 |
private byte[] |
row1 |
private byte[] |
row2 |
(package private) TestKeyValueHeap.TestScanner |
s1 |
(package private) TestKeyValueHeap.TestScanner |
s2 |
(package private) TestKeyValueHeap.TestScanner |
s3 |
(package private) List<org.apache.hadoop.hbase.regionserver.KeyValueScanner> |
scanners |
COLUMNS, conf, fam3, FIRST_CHAR, fs, fsTableDescriptors, LAST_CHAR, MAXVERSIONS, meta, PUNCTUATION, START_KEY, START_KEY_BYTES, testDir, testUtil
Constructor and Description |
---|
TestKeyValueHeap() |
Modifier and Type | Method and Description |
---|---|
List<org.apache.hadoop.hbase.Cell> |
assertCells(List<org.apache.hadoop.hbase.Cell> expected,
List<org.apache.hadoop.hbase.regionserver.KeyValueScanner> scanners) |
void |
setUp()
Note that this method must be called after the mini hdfs cluster has
started or we end up with a local file system.
|
void |
testPriorityId() |
void |
testScannerException() |
void |
testScannerLeak() |
void |
testSeek() |
void |
testSorted() |
addContent, addContent, addContent, addContent, addContent, addContent, addContent, assertByteEquals, assertEquals, assertResultEquals, closeRootAndMeta, createMetaRegion, createNewHRegion, createNewHRegion, createTableDescriptor, createTableDescriptor, createTableDescriptor, getUnitTestdir, openClosedRegion, shutdownDfs, tearDown
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toString
public static final HBaseClassTestRule CLASS_RULE
private byte[] row1
private byte[] fam1
private byte[] col1
private byte[] data
private byte[] row2
private byte[] fam2
private byte[] col2
private byte[] col3
private byte[] col4
private byte[] col5
org.apache.hadoop.hbase.Cell kv111
org.apache.hadoop.hbase.Cell kv112
org.apache.hadoop.hbase.Cell kv113
org.apache.hadoop.hbase.Cell kv114
org.apache.hadoop.hbase.Cell kv115
org.apache.hadoop.hbase.Cell kv121
org.apache.hadoop.hbase.Cell kv122
org.apache.hadoop.hbase.Cell kv211
org.apache.hadoop.hbase.Cell kv212
org.apache.hadoop.hbase.Cell kv213
public TestKeyValueHeap()
public List<org.apache.hadoop.hbase.Cell> assertCells(List<org.apache.hadoop.hbase.Cell> expected, List<org.apache.hadoop.hbase.regionserver.KeyValueScanner> scanners) throws IOException
IOException
public void setUp() throws Exception
HBaseTestCase
setUp
in class HBaseTestCase
Exception
public void testSorted() throws IOException
IOException
public void testSeek() throws IOException
IOException
public void testScannerLeak() throws IOException
IOException
public void testScannerException() throws IOException
IOException
public void testPriorityId() throws IOException
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.