public class TestMultiRowResource 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 JAXBContext |
context |
private static boolean |
csrfEnabled |
private static org.apache.http.Header |
extraHdr |
private static Marshaller |
marshaller |
private static HBaseRESTTestingUtility |
REST_TEST_UTIL |
private static String |
ROW_1 |
private static String |
ROW_2 |
private static org.apache.hadoop.hbase.TableName |
TABLE |
private static HBaseTestingUtility |
TEST_UTIL |
private static Unmarshaller |
unmarshaller |
private static String |
VALUE_1 |
private static String |
VALUE_2 |
Constructor and Description |
---|
TestMultiRowResource(Boolean csrf) |
Modifier and Type | Method and Description |
---|---|
static Collection<Object[]> |
data() |
static void |
setUpBeforeClass() |
static void |
tearDownAfterClass() |
void |
testMultiCellGetJSON() |
void |
testMultiCellGetJSONNotFound() |
void |
testMultiCellGetWithColsInQueryPathJSON() |
void |
testMultiCellGetWithColsJSON() |
void |
testMultiCellGetXML() |
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 ROW_1
private static final String VALUE_1
private static final String ROW_2
private static final String VALUE_2
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
private static org.apache.http.Header extraHdr
private static boolean csrfEnabled
public TestMultiRowResource(Boolean csrf)
public static Collection<Object[]> data()
public static void setUpBeforeClass() throws Exception
Exception
public static void tearDownAfterClass() throws Exception
Exception
public void testMultiCellGetJSON() throws IOException
IOException
public void testMultiCellGetXML() throws IOException
IOException
public void testMultiCellGetWithColsJSON() throws IOException
IOException
public void testMultiCellGetJSONNotFound() throws IOException
IOException
public void testMultiCellGetWithColsInQueryPathJSON() throws IOException
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.