Class VisibilityLabelsWithDeletesTestBase
java.lang.Object
org.apache.hadoop.hbase.security.visibility.VisibilityLabelsWithDeletesTestBase
- Direct Known Subclasses:
TestVisibilityLabelsOnNewVersionBehaviorTable,TestVisibilityLabelsWithDeletes
Tests visibility labels with deletes
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static org.apache.hadoop.conf.Configurationprotected static final Stringprotected static final byte[]protected static final Stringprotected static final Stringprotected static final byte[]protected static final byte[]protected static final byte[]protected static final byte[]protected static final byte[]protected static final Stringprotected static org.apache.hadoop.hbase.security.Userprotected static final HBaseTestingUtilfinal org.junit.rules.TestNameprotected static final Stringprotected static final byte[]protected static final byte[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidprotected abstract org.apache.hadoop.hbase.client.TablecreateTable(byte[] fam) private org.apache.hadoop.hbase.client.TablecreateTableAndWriteDataWithLabels(long[] timestamp, String... labelExps) private org.apache.hadoop.hbase.client.TablecreateTableAndWriteDataWithLabels(String... labelExps) protected final voidsetAuths()static voidstatic voidvoidvoidvoidvoid
-
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:
IOExceptionInterruptedException
-
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
-