Class VisibilityLabelsWithDeletesTestBase
java.lang.Object
org.apache.hadoop.hbase.security.visibility.VisibilityLabelsWithDeletesTestBase
- Direct Known Subclasses:
TestVisibilityLabelsOnNewVersionBehaviorTable
,TestVisibilityLabelsWithDeletes
Tests visibility labels with deletes
-
Field Summary
Modifier and TypeFieldDescriptionprotected static org.apache.hadoop.conf.Configuration
protected static final String
protected static final byte[]
protected static final String
protected static final String
protected static final byte[]
protected static final byte[]
protected static final byte[]
protected static final byte[]
protected static final byte[]
protected static final String
protected static org.apache.hadoop.hbase.security.User
protected static final HBaseTestingUtility
final org.junit.rules.TestName
protected static final String
protected static final byte[]
protected static final byte[]
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
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 final void
setAuths()
static void
static void
void
void
void
void
-
Field Details
-
TOPSECRET
- See Also:
-
PUBLIC
- See Also:
-
PRIVATE
- See Also:
-
CONFIDENTIAL
- See Also:
-
SECRET
- See Also:
-
TEST_UTIL
-
row1
-
row2
-
fam
-
qual
-
qual1
-
qual2
-
value
-
value1
-
conf
-
testName
-
SUPERUSER
-
-
Constructor Details
-
VisibilityLabelsWithDeletesTestBase
public VisibilityLabelsWithDeletesTestBase()
-
-
Method Details
-
setupBeforeClass
- Throws:
Exception
-
tearDownAfterClass
- Throws:
Exception
-
addLabels
- Throws:
Exception
-
createTable
- Throws:
IOException
-
setAuths
- Throws:
IOException
InterruptedException
-
createTableAndWriteDataWithLabels
private org.apache.hadoop.hbase.client.Table createTableAndWriteDataWithLabels(String... labelExps) throws Exception - Throws:
Exception
-
createTableAndWriteDataWithLabels
private org.apache.hadoop.hbase.client.Table createTableAndWriteDataWithLabels(long[] timestamp, String... labelExps) throws Exception - Throws:
Exception
-
testVisibilityLabelsWithDeleteColumns
- Throws:
Throwable
-
testVisibilityLabelsWithDeleteFamily
- Throws:
Exception
-
testVisibilityLabelsWithDeleteFamilyVersion
- Throws:
Exception
-
testVisibilityLabelsWithDeleteColumnExactVersion
- Throws:
Exception
-