public abstract class VisibilityLabelsWithDeletesTestBase extends Object
Modifier and Type | Field and Description |
---|---|
protected static org.apache.hadoop.conf.Configuration |
conf |
protected static String |
CONFIDENTIAL |
protected static byte[] |
fam |
protected static String |
PRIVATE |
protected static String |
PUBLIC |
protected static byte[] |
qual |
protected static byte[] |
qual1 |
protected static byte[] |
qual2 |
protected static byte[] |
row1 |
protected static byte[] |
row2 |
protected static String |
SECRET |
protected static org.apache.hadoop.hbase.security.User |
SUPERUSER |
protected static HBaseTestingUtility |
TEST_UTIL |
org.junit.rules.TestName |
testName |
protected static String |
TOPSECRET |
protected static byte[] |
value |
protected static byte[] |
value1 |
Constructor and Description |
---|
VisibilityLabelsWithDeletesTestBase() |
Modifier and Type | Method and Description |
---|---|
static void |
addLabels() |
protected abstract org.apache.hadoop.hbase.client.Table |
createTable(byte[] fam) |
private org.apache.hadoop.hbase.client.Table |
createTableAndWriteDataWithLabels(long[] timestamp,
String... labelExps) |
private org.apache.hadoop.hbase.client.Table |
createTableAndWriteDataWithLabels(String... labelExps) |
protected void |
setAuths() |
static void |
setupBeforeClass() |
static void |
tearDownAfterClass() |
void |
testVisibilityLabelsWithDeleteColumnExactVersion() |
void |
testVisibilityLabelsWithDeleteColumns() |
void |
testVisibilityLabelsWithDeleteFamily() |
void |
testVisibilityLabelsWithDeleteFamilyVersion() |
protected static final String TOPSECRET
protected static final String PUBLIC
protected static final String PRIVATE
protected static final String CONFIDENTIAL
protected static final String SECRET
protected static final HBaseTestingUtility TEST_UTIL
protected static final byte[] row1
protected static final byte[] row2
protected static final byte[] fam
protected static final byte[] qual
protected static final byte[] qual1
protected static final byte[] qual2
protected static final byte[] value
protected static final byte[] value1
protected static org.apache.hadoop.conf.Configuration conf
public final org.junit.rules.TestName testName
protected static org.apache.hadoop.hbase.security.User SUPERUSER
public VisibilityLabelsWithDeletesTestBase()
public static void setupBeforeClass() throws Exception
Exception
public static void tearDownAfterClass() throws Exception
Exception
protected abstract org.apache.hadoop.hbase.client.Table createTable(byte[] fam) throws IOException
IOException
protected final void setAuths() throws IOException, InterruptedException
IOException
InterruptedException
private org.apache.hadoop.hbase.client.Table createTableAndWriteDataWithLabels(String... labelExps) throws Exception
Exception
private org.apache.hadoop.hbase.client.Table createTableAndWriteDataWithLabels(long[] timestamp, String... labelExps) throws Exception
Exception
public void testVisibilityLabelsWithDeleteColumns() throws Throwable
Throwable
public void testVisibilityLabelsWithDeleteFamily() throws Exception
Exception
public void testVisibilityLabelsWithDeleteFamilyVersion() throws Exception
Exception
public void testVisibilityLabelsWithDeleteColumnExactVersion() throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.