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
Exception
public void testStoreMemStore() throws Exception
Exception
public void testDelete() throws Exception
Exception
public void testMemStore() throws Exception
Exception
public void testBaseCase() throws Exception
Exception
public void testFilters() throws Exception
Exception
public void testMinVersionsWithKeepDeletedCellsTTL() throws Exception
Exception
private void verifyVersionedCellKeyValues(int ttl, org.apache.hadoop.hbase.client.ColumnFamilyDescriptor cfd) throws IOException
IOException
private void verifyAfterTtl(org.apache.hadoop.hbase.regionserver.HRegion region, long ts) throws IOException
IOException
private void verifyBeforeCompaction(org.apache.hadoop.hbase.regionserver.HRegion region, long ts) throws IOException
IOException
private void putFourVersions(org.apache.hadoop.hbase.regionserver.HRegion region, long ts) throws IOException
IOException
private void checkResult(org.apache.hadoop.hbase.client.Result r, byte[] col, byte[]... vals)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.