public class TestScannersWithLabels extends Object
Modifier and Type | Field and Description |
---|---|
private static String |
CFA |
private static String |
CFB |
static HBaseClassTestRule |
CLASS_RULE |
private static org.apache.hadoop.hbase.rest.client.Client |
client |
private static String |
COLUMN_1 |
private static String |
COLUMN_2 |
private static org.apache.hadoop.conf.Configuration |
conf |
private static String |
CONFIDENTIAL |
private static JAXBContext |
context |
private static Marshaller |
marshaller |
private static String |
PRIVATE |
private static String |
PUBLIC |
private static HBaseRESTTestingUtility |
REST_TEST_UTIL |
private static String |
SECRET |
private static org.apache.hadoop.hbase.security.User |
SUPERUSER |
private static org.apache.hadoop.hbase.TableName |
TABLE |
private static HBaseTestingUtility |
TEST_UTIL |
private static String |
TOPSECRET |
private static Unmarshaller |
unmarshaller |
Constructor and Description |
---|
TestScannersWithLabels() |
Modifier and Type | Method and Description |
---|---|
private static int |
countCellSet(org.apache.hadoop.hbase.rest.model.CellSetModel model) |
private static void |
createLabels() |
private static int |
insertData(org.apache.hadoop.hbase.TableName tableName,
String column,
double prob) |
private static void |
setAuths() |
static void |
setUpBeforeClass() |
static void |
tearDownAfterClass() |
void |
testSimpleScannerXMLWithLabelsThatReceivesData() |
void |
testSimpleScannerXMLWithLabelsThatReceivesNoData() |
public static final HBaseClassTestRule CLASS_RULE
private static final org.apache.hadoop.hbase.TableName TABLE
private static final String CFA
private static final String CFB
private static final String COLUMN_1
private static final String COLUMN_2
private static final String TOPSECRET
private static final String PUBLIC
private static final String PRIVATE
private static final String CONFIDENTIAL
private static final String SECRET
private static org.apache.hadoop.hbase.security.User SUPERUSER
private static final HBaseTestingUtility TEST_UTIL
private static final HBaseRESTTestingUtility REST_TEST_UTIL
private static org.apache.hadoop.hbase.rest.client.Client client
private static JAXBContext context
private static Marshaller marshaller
private static Unmarshaller unmarshaller
private static org.apache.hadoop.conf.Configuration conf
public TestScannersWithLabels()
private static int insertData(org.apache.hadoop.hbase.TableName tableName, String column, double prob) throws IOException
IOException
private static int countCellSet(org.apache.hadoop.hbase.rest.model.CellSetModel model)
public static void setUpBeforeClass() throws Exception
Exception
public static void tearDownAfterClass() throws Exception
Exception
private static void createLabels() throws IOException, InterruptedException
IOException
InterruptedException
public void testSimpleScannerXMLWithLabelsThatReceivesNoData() throws IOException, JAXBException
IOException
JAXBException
public void testSimpleScannerXMLWithLabelsThatReceivesData() throws IOException, JAXBException
IOException
JAXBException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.