public class RowResourceBase extends Object
Modifier and Type | Field and Description |
---|---|
protected static String |
CFA |
protected static String |
CFB |
protected static org.apache.hadoop.hbase.rest.client.Client |
client |
protected static String |
COLUMN_1 |
protected static String |
COLUMN_2 |
protected static String |
COLUMN_3 |
protected static org.apache.hadoop.conf.Configuration |
conf |
protected static JAXBContext |
context |
protected static com.fasterxml.jackson.databind.ObjectMapper |
jsonMapper |
protected static HBaseRESTTestingUtility |
REST_TEST_UTIL |
protected static String |
ROW_1 |
protected static String |
ROW_2 |
protected static String |
ROW_3 |
protected static String |
ROW_4 |
protected static String |
TABLE |
protected static org.apache.hadoop.hbase.TableName |
TABLE_NAME |
protected static HBaseTestingUtility |
TEST_UTIL |
protected static String |
VALUE_1 |
protected static String |
VALUE_2 |
protected static String |
VALUE_3 |
protected static String |
VALUE_4 |
protected static String |
VALUE_5 |
protected static String |
VALUE_6 |
protected static Marshaller |
xmlMarshaller |
protected static Unmarshaller |
xmlUnmarshaller |
Constructor and Description |
---|
RowResourceBase() |
Modifier and Type | Method and Description |
---|---|
void |
afterMethod() |
protected static org.apache.hadoop.hbase.rest.client.Response |
appendValueJson(String table,
String row,
String column,
String value) |
protected static org.apache.hadoop.hbase.rest.client.Response |
appendValuePB(String table,
String row,
String column,
String value) |
protected static org.apache.hadoop.hbase.rest.client.Response |
appendValueXML(String table,
String row,
String column,
String value) |
void |
beforeMethod() |
protected static org.apache.hadoop.hbase.rest.client.Response |
checkAndDeleteJson(String table,
String row,
String column,
String valueToCheck) |
protected static org.apache.hadoop.hbase.rest.client.Response |
checkAndDeleteJson(String table,
String row,
String column,
String valueToCheck,
HashMap<String,String> cellsToDelete) |
protected static org.apache.hadoop.hbase.rest.client.Response |
checkAndDeleteJson(String url,
String table,
String row,
String column,
String valueToCheck,
HashMap<String,String> cellsToDelete) |
protected static org.apache.hadoop.hbase.rest.client.Response |
checkAndDeletePB(String table,
String row,
String column,
String value) |
protected static org.apache.hadoop.hbase.rest.client.Response |
checkAndDeletePB(String table,
String row,
String column,
String value,
HashMap<String,String> cellsToDelete) |
protected static org.apache.hadoop.hbase.rest.client.Response |
checkAndDeleteValuePB(String url,
String table,
String row,
String column,
String valueToCheck,
HashMap<String,String> cellsToDelete) |
protected static org.apache.hadoop.hbase.rest.client.Response |
checkAndDeleteXML(String table,
String row,
String column,
String valueToCheck) |
protected static org.apache.hadoop.hbase.rest.client.Response |
checkAndDeleteXML(String table,
String row,
String column,
String valueToCheck,
HashMap<String,String> cellsToDelete) |
protected static org.apache.hadoop.hbase.rest.client.Response |
checkAndDeleteXML(String url,
String table,
String row,
String column,
String valueToCheck,
HashMap<String,String> cellsToDelete) |
protected static org.apache.hadoop.hbase.rest.client.Response |
checkAndPutValuePB(String table,
String row,
String column,
String valueToCheck,
String valueToPut) |
protected static org.apache.hadoop.hbase.rest.client.Response |
checkAndPutValuePB(String table,
String row,
String column,
String valueToCheck,
String valueToPut,
HashMap<String,String> otherCells) |
protected static org.apache.hadoop.hbase.rest.client.Response |
checkAndPutValuePB(String url,
String table,
String row,
String column,
String valueToCheck,
String valueToPut,
HashMap<String,String> otherCells) |
protected static org.apache.hadoop.hbase.rest.client.Response |
checkAndPutValueXML(String table,
String row,
String column,
String valueToCheck,
String valueToPut) |
protected static org.apache.hadoop.hbase.rest.client.Response |
checkAndPutValueXML(String table,
String row,
String column,
String valueToCheck,
String valueToPut,
HashMap<String,String> otherCells) |
protected static org.apache.hadoop.hbase.rest.client.Response |
checkAndPutValueXML(String url,
String table,
String row,
String column,
String valueToCheck,
String valueToPut,
HashMap<String,String> otherCells) |
protected static void |
checkIncrementValueJSON(String table,
String row,
String column,
long value) |
protected static void |
checkIncrementValuePB(String table,
String row,
String column,
long value) |
protected static void |
checkIncrementValueXML(String table,
String row,
String column,
long value) |
protected static void |
checkValueJSON(String table,
String row,
String column,
String value) |
protected static void |
checkValuePB(String table,
String row,
String column,
String value) |
protected static void |
checkValueXML(String table,
String row,
String column,
String value) |
protected static void |
checkValueXML(String url,
String table,
String row,
String column,
String value) |
protected static org.apache.hadoop.hbase.rest.client.Response |
deleteRow(String table,
String row) |
protected static org.apache.hadoop.hbase.rest.client.Response |
deleteValue(String table,
String row,
String column) |
protected static org.apache.hadoop.hbase.rest.client.Response |
getValueJson(String url) |
protected static org.apache.hadoop.hbase.rest.client.Response |
getValueJson(String table,
String row,
String column) |
protected static org.apache.hadoop.hbase.rest.client.Response |
getValuePB(String url) |
protected static org.apache.hadoop.hbase.rest.client.Response |
getValuePB(String table,
String row,
String column) |
protected static org.apache.hadoop.hbase.rest.client.Response |
getValueXML(String url) |
protected static org.apache.hadoop.hbase.rest.client.Response |
getValueXML(String table,
String row,
String column) |
protected static org.apache.hadoop.hbase.rest.client.Response |
getValueXML(String table,
String startRow,
String endRow,
String column) |
protected static org.apache.hadoop.hbase.rest.client.Response |
incrementValueJson(String table,
String row,
String column,
String value) |
protected static org.apache.hadoop.hbase.rest.client.Response |
incrementValuePB(String table,
String row,
String column,
String value) |
protected static org.apache.hadoop.hbase.rest.client.Response |
incrementValueXML(String table,
String row,
String column,
String value) |
protected static org.apache.hadoop.hbase.rest.client.Response |
putValueJson(String table,
String row,
String column,
String value) |
protected static org.apache.hadoop.hbase.rest.client.Response |
putValueJson(String url,
String table,
String row,
String column,
String value) |
(package private) static org.apache.hadoop.hbase.rest.client.Response |
putValuePB(String table,
String row,
String column,
String value) |
(package private) static org.apache.hadoop.hbase.rest.client.Response |
putValuePB(String url,
String table,
String row,
String column,
String value) |
protected static org.apache.hadoop.hbase.rest.client.Response |
putValueXML(String table,
String row,
String column,
String value) |
protected static org.apache.hadoop.hbase.rest.client.Response |
putValueXML(String url,
String table,
String row,
String column,
String value) |
static void |
setUpBeforeClass() |
static void |
tearDownAfterClass() |
protected static final String TABLE
protected static final org.apache.hadoop.hbase.TableName TABLE_NAME
protected static final String CFA
protected static final String CFB
protected static final String COLUMN_1
protected static final String COLUMN_2
protected static final String COLUMN_3
protected static final String ROW_1
protected static final String VALUE_1
protected static final String ROW_2
protected static final String VALUE_2
protected static final String ROW_3
protected static final String VALUE_3
protected static final String ROW_4
protected static final String VALUE_4
protected static final String VALUE_5
protected static final String VALUE_6
protected static final HBaseTestingUtility TEST_UTIL
protected static final HBaseRESTTestingUtility REST_TEST_UTIL
protected static org.apache.hadoop.hbase.rest.client.Client client
protected static JAXBContext context
protected static Marshaller xmlMarshaller
protected static Unmarshaller xmlUnmarshaller
protected static org.apache.hadoop.conf.Configuration conf
protected static com.fasterxml.jackson.databind.ObjectMapper jsonMapper
public RowResourceBase()
public static void setUpBeforeClass() throws Exception
Exception
public static void tearDownAfterClass() throws Exception
Exception
public void beforeMethod() throws Exception
Exception
public void afterMethod() throws Exception
Exception
static org.apache.hadoop.hbase.rest.client.Response putValuePB(String table, String row, String column, String value) throws IOException
IOException
static org.apache.hadoop.hbase.rest.client.Response putValuePB(String url, String table, String row, String column, String value) throws IOException
IOException
protected static void checkValueXML(String url, String table, String row, String column, String value) throws IOException, JAXBException
IOException
JAXBException
protected static void checkValueXML(String table, String row, String column, String value) throws IOException, JAXBException
IOException
JAXBException
protected static void checkIncrementValueXML(String table, String row, String column, long value) throws IOException, JAXBException
IOException
JAXBException
protected static org.apache.hadoop.hbase.rest.client.Response getValuePB(String url) throws IOException
IOException
protected static org.apache.hadoop.hbase.rest.client.Response putValueXML(String table, String row, String column, String value) throws IOException, JAXBException
IOException
JAXBException
protected static org.apache.hadoop.hbase.rest.client.Response putValueXML(String url, String table, String row, String column, String value) throws IOException, JAXBException
IOException
JAXBException
protected static org.apache.hadoop.hbase.rest.client.Response getValuePB(String table, String row, String column) throws IOException
IOException
protected static void checkValuePB(String table, String row, String column, String value) throws IOException
IOException
protected static void checkIncrementValuePB(String table, String row, String column, long value) throws IOException
IOException
protected static org.apache.hadoop.hbase.rest.client.Response checkAndPutValuePB(String url, String table, String row, String column, String valueToCheck, String valueToPut, HashMap<String,String> otherCells) throws IOException
IOException
protected static org.apache.hadoop.hbase.rest.client.Response checkAndPutValuePB(String table, String row, String column, String valueToCheck, String valueToPut) throws IOException
IOException
protected static org.apache.hadoop.hbase.rest.client.Response checkAndPutValuePB(String table, String row, String column, String valueToCheck, String valueToPut, HashMap<String,String> otherCells) throws IOException
IOException
protected static org.apache.hadoop.hbase.rest.client.Response checkAndPutValueXML(String url, String table, String row, String column, String valueToCheck, String valueToPut, HashMap<String,String> otherCells) throws IOException, JAXBException
IOException
JAXBException
protected static org.apache.hadoop.hbase.rest.client.Response checkAndPutValueXML(String table, String row, String column, String valueToCheck, String valueToPut) throws IOException, JAXBException
IOException
JAXBException
protected static org.apache.hadoop.hbase.rest.client.Response checkAndPutValueXML(String table, String row, String column, String valueToCheck, String valueToPut, HashMap<String,String> otherCells) throws IOException, JAXBException
IOException
JAXBException
protected static org.apache.hadoop.hbase.rest.client.Response checkAndDeleteXML(String url, String table, String row, String column, String valueToCheck, HashMap<String,String> cellsToDelete) throws IOException, JAXBException
IOException
JAXBException
protected static org.apache.hadoop.hbase.rest.client.Response checkAndDeleteXML(String table, String row, String column, String valueToCheck) throws IOException, JAXBException
IOException
JAXBException
protected static org.apache.hadoop.hbase.rest.client.Response checkAndDeleteXML(String table, String row, String column, String valueToCheck, HashMap<String,String> cellsToDelete) throws IOException, JAXBException
IOException
JAXBException
protected static org.apache.hadoop.hbase.rest.client.Response checkAndDeleteJson(String table, String row, String column, String valueToCheck) throws IOException
IOException
protected static org.apache.hadoop.hbase.rest.client.Response checkAndDeleteJson(String table, String row, String column, String valueToCheck, HashMap<String,String> cellsToDelete) throws IOException
IOException
protected static org.apache.hadoop.hbase.rest.client.Response checkAndDeleteJson(String url, String table, String row, String column, String valueToCheck, HashMap<String,String> cellsToDelete) throws IOException
IOException
protected static org.apache.hadoop.hbase.rest.client.Response checkAndDeletePB(String table, String row, String column, String value) throws IOException
IOException
protected static org.apache.hadoop.hbase.rest.client.Response checkAndDeletePB(String table, String row, String column, String value, HashMap<String,String> cellsToDelete) throws IOException
IOException
protected static org.apache.hadoop.hbase.rest.client.Response checkAndDeleteValuePB(String url, String table, String row, String column, String valueToCheck, HashMap<String,String> cellsToDelete) throws IOException
IOException
protected static org.apache.hadoop.hbase.rest.client.Response getValueXML(String table, String startRow, String endRow, String column) throws IOException
IOException
protected static org.apache.hadoop.hbase.rest.client.Response getValueXML(String url) throws IOException
IOException
protected static org.apache.hadoop.hbase.rest.client.Response getValueJson(String url) throws IOException
IOException
protected static org.apache.hadoop.hbase.rest.client.Response deleteValue(String table, String row, String column) throws IOException
IOException
protected static org.apache.hadoop.hbase.rest.client.Response getValueXML(String table, String row, String column) throws IOException
IOException
protected static org.apache.hadoop.hbase.rest.client.Response deleteRow(String table, String row) throws IOException
IOException
protected static org.apache.hadoop.hbase.rest.client.Response getValueJson(String table, String row, String column) throws IOException
IOException
protected static void checkValueJSON(String table, String row, String column, String value) throws IOException
IOException
protected static void checkIncrementValueJSON(String table, String row, String column, long value) throws IOException
IOException
protected static org.apache.hadoop.hbase.rest.client.Response putValueJson(String table, String row, String column, String value) throws IOException
IOException
protected static org.apache.hadoop.hbase.rest.client.Response putValueJson(String url, String table, String row, String column, String value) throws IOException
IOException
protected static org.apache.hadoop.hbase.rest.client.Response appendValueXML(String table, String row, String column, String value) throws IOException, JAXBException
IOException
JAXBException
protected static org.apache.hadoop.hbase.rest.client.Response appendValuePB(String table, String row, String column, String value) throws IOException
IOException
protected static org.apache.hadoop.hbase.rest.client.Response appendValueJson(String table, String row, String column, String value) throws IOException, JAXBException
IOException
JAXBException
protected static org.apache.hadoop.hbase.rest.client.Response incrementValueXML(String table, String row, String column, String value) throws IOException, JAXBException
IOException
JAXBException
protected static org.apache.hadoop.hbase.rest.client.Response incrementValuePB(String table, String row, String column, String value) throws IOException
IOException
protected static org.apache.hadoop.hbase.rest.client.Response incrementValueJson(String table, String row, String column, String value) throws IOException, JAXBException
IOException
JAXBException
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.