Package org.apache.hadoop.hbase.thrift2
Class TestThriftHBaseServiceHandlerWithLabels
java.lang.Object
org.apache.hadoop.hbase.thrift2.TestThriftHBaseServiceHandlerWithLabels
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static org.apache.hadoop.conf.Configuration
private static final String
private static org.apache.hadoop.hbase.HColumnDescriptor[]
private static byte[]
private static byte[]
private static final org.slf4j.Logger
private static final String
private static final String
private static byte[]
private static byte[]
private static final String
private static org.apache.hadoop.hbase.security.User
private static byte[]
private static final String
private static final HBaseTestingUtility
private static byte[]
private static byte[]
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
void
assertTColumnValuesEqual
(List<org.apache.hadoop.hbase.thrift2.generated.TColumnValue> columnValuesA, List<org.apache.hadoop.hbase.thrift2.generated.TColumnValue> columnValuesB) static void
private org.apache.hadoop.hbase.thrift2.ThriftHBaseServiceHandler
private static void
private String
pad
(int n, byte pad) Padding numbers to make comparison of sort order easier in a for loop The number to pad.private static void
setAuths()
void
setup()
void
void
void
void
void
void
-
Field Details
-
CLASS_RULE
-
LOG
-
UTIL
-
tableAname
-
familyAname
-
familyBname
-
qualifierAname
-
qualifierBname
-
valueAname
-
valueBname
-
families
-
TOPSECRET
- See Also:
-
PUBLIC
- See Also:
-
PRIVATE
- See Also:
-
CONFIDENTIAL
- See Also:
-
SECRET
- See Also:
-
SUPERUSER
-
conf
-
-
Constructor Details
-
TestThriftHBaseServiceHandlerWithLabels
-
-
Method Details
-
assertTColumnValuesEqual
public void assertTColumnValuesEqual(List<org.apache.hadoop.hbase.thrift2.generated.TColumnValue> columnValuesA, List<org.apache.hadoop.hbase.thrift2.generated.TColumnValue> columnValuesB) -
beforeClass
- Throws:
Exception
-
createLabels
- Throws:
IOException
InterruptedException
-
setAuths
- Throws:
IOException
-
afterClass
- Throws:
Exception
-
setup
- Throws:
Exception
-
createHandler
private org.apache.hadoop.hbase.thrift2.ThriftHBaseServiceHandler createHandler() throws IOException- Throws:
IOException
-
testScanWithVisibilityLabels
- Throws:
Exception
-
testGetScannerResultsWithAuthorizations
- Throws:
Exception
-
testGetsWithLabels
- Throws:
Exception
-
testIncrementWithTags
- Throws:
Exception
-
testIncrementWithTagsWithNotMatchLabels
- Throws:
Exception
-
testAppend
- Throws:
Exception
-
pad
Padding numbers to make comparison of sort order easier in a for loop The number to pad.- Parameters:
n
- The number to pad.pad
- The length to pad up to.- Returns:
- The padded number as a string.
-