public class TestMultiRowResource extends Object
Modifier and Type | Field and Description |
---|---|
private static Base64.Encoder |
base64UrlEncoder |
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 boolean |
csrfEnabled |
private static org.apache.http.Header |
extraHdr |
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 HBaseTestingUtil |
TEST_UTIL |
private static String |
VALUE_1 |
private static String |
VALUE_2 |
Constructor and Description |
---|
TestMultiRowResource(Boolean csrf) |
Modifier and Type | Method and Description |
---|---|
private void |
checkMultiCellGetJSON(org.apache.hadoop.hbase.rest.client.Response response) |
static Collection<Object[]> |
data() |
static void |
setUpBeforeClass() |
static void |
tearDownAfterClass() |
void |
testMultiCellGetFilterJSON() |
void |
testMultiCellGetJSON() |
void |
testMultiCellGetJSONB64() |
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 HBaseTestingUtil TEST_UTIL
private static final HBaseRESTTestingUtility REST_TEST_UTIL
private static final Base64.Encoder base64UrlEncoder
private static org.apache.hadoop.hbase.rest.client.Client client
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
private void checkMultiCellGetJSON(org.apache.hadoop.hbase.rest.client.Response response) throws IOException
IOException
public void testMultiCellGetJSONB64() 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
public void testMultiCellGetFilterJSON() throws IOException
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.