public class TestMinVersions extends Object
| Modifier and Type | Field and Description |
|---|---|
private byte[] |
c0 |
static HBaseClassTestRule |
CLASS_RULE |
(package private) HBaseTestingUtility |
hbu |
org.junit.rules.TestName |
name |
private byte[] |
T0 |
private byte[] |
T1 |
private byte[] |
T2 |
private byte[] |
T3 |
private byte[] |
T4 |
private byte[] |
T5 |
| Constructor and Description |
|---|
TestMinVersions() |
| Modifier and Type | Method and Description |
|---|---|
private void |
checkResult(org.apache.hadoop.hbase.client.Result r,
byte[] col,
byte[]... vals) |
private void |
putFourVersions(org.apache.hadoop.hbase.regionserver.HRegion region,
long ts) |
void |
testBaseCase()
Verify basic minimum versions functionality
|
void |
testDelete()
Make sure the Deletes behave as expected with minimum versions
|
void |
testFilters()
Verify that basic filters still behave correctly with
minimum versions enabled.
|
void |
testGetClosestBefore()
Verify behavior of getClosestBefore(...)
|
void |
testMemStore()
Make sure the memstor behaves correctly with minimum versions
|
void |
testMinVersionsWithKeepDeletedCellsTTL() |
void |
testStoreMemStore()
Test mixed memstore and storefile scanning
with minimum versions.
|
private void |
verifyAfterTtl(org.apache.hadoop.hbase.regionserver.HRegion region,
long ts) |
private void |
verifyBeforeCompaction(org.apache.hadoop.hbase.regionserver.HRegion region,
long ts) |
private void |
verifyVersionedCellKeyValues(int ttl,
org.apache.hadoop.hbase.client.ColumnFamilyDescriptor cfd) |
public static final HBaseClassTestRule CLASS_RULE
private final byte[] T0
private final byte[] T1
private final byte[] T2
private final byte[] T3
private final byte[] T4
private final byte[] T5
private final byte[] c0
public org.junit.rules.TestName name
public TestMinVersions()
public void testGetClosestBefore() throws Exception
Exceptionpublic void testStoreMemStore() throws Exception
Exceptionpublic void testDelete() throws Exception
Exceptionpublic void testMemStore() throws Exception
Exceptionpublic void testBaseCase() throws Exception
Exceptionpublic void testFilters() throws Exception
Exceptionpublic void testMinVersionsWithKeepDeletedCellsTTL() throws Exception
Exceptionprivate void verifyVersionedCellKeyValues(int ttl, org.apache.hadoop.hbase.client.ColumnFamilyDescriptor cfd) throws IOException
IOExceptionprivate void verifyAfterTtl(org.apache.hadoop.hbase.regionserver.HRegion region, long ts) throws IOException
IOExceptionprivate void verifyBeforeCompaction(org.apache.hadoop.hbase.regionserver.HRegion region, long ts) throws IOException
IOExceptionprivate void putFourVersions(org.apache.hadoop.hbase.regionserver.HRegion region, long ts) throws IOException
IOExceptionprivate void checkResult(org.apache.hadoop.hbase.client.Result r, byte[] col, byte[]... vals)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.