Package org.apache.hadoop.hbase.rest
Class TestScannersWithLabels
java.lang.Object
org.apache.hadoop.hbase.rest.TestScannersWithLabels
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Stringprivate static final Stringstatic final HBaseClassTestRuleprivate static org.apache.hadoop.hbase.rest.client.Clientprivate static final Stringprivate static final Stringprivate static org.apache.hadoop.conf.Configurationprivate static final Stringprivate static javax.xml.bind.JAXBContextprivate static javax.xml.bind.Marshallerprivate static final Stringprivate static final Stringprivate static final HBaseRESTTestingUtilityprivate static final Stringprivate static org.apache.hadoop.hbase.security.Userprivate static final org.apache.hadoop.hbase.TableNameprivate static final HBaseTestingUtilprivate static final Stringprivate static javax.xml.bind.Unmarshaller -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static intcountCellSet(org.apache.hadoop.hbase.rest.model.CellSetModel model) private static voidprivate static intinsertData(org.apache.hadoop.hbase.TableName tableName, String column, double prob) private static voidsetAuths()static voidstatic voidvoidvoid
-
Field Details
-
CLASS_RULE
-
TABLE
-
CFA
- See Also:
-
CFB
- See Also:
-
COLUMN_1
- See Also:
-
COLUMN_2
- See Also:
-
TOPSECRET
- See Also:
-
PUBLIC
- See Also:
-
PRIVATE
- See Also:
-
CONFIDENTIAL
- See Also:
-
SECRET
- See Also:
-
SUPERUSER
-
TEST_UTIL
-
REST_TEST_UTIL
-
client
-
context
-
marshaller
-
unmarshaller
-
conf
-
-
Constructor Details
-
TestScannersWithLabels
public TestScannersWithLabels()
-
-
Method Details
-
insertData
private static int insertData(org.apache.hadoop.hbase.TableName tableName, String column, double prob) throws IOException - Throws:
IOException
-
countCellSet
-
setUpBeforeClass
- Throws:
Exception
-
tearDownAfterClass
- Throws:
Exception
-
createLabels
- Throws:
IOExceptionInterruptedException
-
setAuths
- Throws:
Exception
-
testSimpleScannerXMLWithLabelsThatReceivesNoData
public void testSimpleScannerXMLWithLabelsThatReceivesNoData() throws IOException, javax.xml.bind.JAXBException- Throws:
IOExceptionjavax.xml.bind.JAXBException
-
testSimpleScannerXMLWithLabelsThatReceivesData
public void testSimpleScannerXMLWithLabelsThatReceivesData() throws IOException, javax.xml.bind.JAXBException- Throws:
IOExceptionjavax.xml.bind.JAXBException
-