public class RowResourceBase extends Object
Modifier and Type | Field and Description |
---|---|
protected static String |
CFA |
protected static String |
CFB |
protected static Client |
client |
protected static String |
COLUMN_1 |
protected static String |
COLUMN_2 |
protected static String |
COLUMN_3 |
protected static Configuration |
conf |
protected static JAXBContext |
context |
protected static 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 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 Marshaller |
xmlMarshaller |
protected static Unmarshaller |
xmlUnmarshaller |
Constructor and Description |
---|
RowResourceBase() |
Modifier and Type | Method and Description |
---|---|
void |
afterMethod() |
void |
beforeMethod() |
protected static Response |
checkAndDeleteJson(String table,
String row,
String column,
String valueToCheck) |
protected static Response |
checkAndDeleteJson(String url,
String table,
String row,
String column,
String valueToCheck) |
protected static Response |
checkAndDeletePB(String table,
String row,
String column,
String value) |
protected static Response |
checkAndDeleteValuePB(String url,
String table,
String row,
String column,
String valueToCheck) |
protected static Response |
checkAndDeleteXML(String table,
String row,
String column,
String valueToCheck) |
protected static Response |
checkAndDeleteXML(String url,
String table,
String row,
String column,
String valueToCheck) |
protected static Response |
checkAndPutValuePB(String table,
String row,
String column,
String valueToCheck,
String valueToPut) |
protected static Response |
checkAndPutValuePB(String url,
String table,
String row,
String column,
String valueToCheck,
String valueToPut) |
protected static Response |
checkAndPutValueXML(String table,
String row,
String column,
String valueToCheck,
String valueToPut) |
protected static Response |
checkAndPutValueXML(String url,
String table,
String row,
String column,
String valueToCheck,
String valueToPut) |
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 Response |
deleteRow(String table,
String row) |
protected static Response |
deleteValue(String table,
String row,
String column) |
protected static Response |
getValueJson(String url) |
protected static Response |
getValueJson(String table,
String row,
String column) |
protected static Response |
getValuePB(String url) |
protected static Response |
getValuePB(String table,
String row,
String column) |
protected static Response |
getValueXML(String url) |
protected static Response |
getValueXML(String table,
String row,
String column) |
protected static Response |
getValueXML(String table,
String startRow,
String endRow,
String column) |
protected static Response |
putValueJson(String table,
String row,
String column,
String value) |
protected static Response |
putValueJson(String url,
String table,
String row,
String column,
String value) |
protected static Response |
putValueXML(String table,
String row,
String column,
String value) |
protected static 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 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 HBaseTestingUtility TEST_UTIL
protected static final HBaseRESTTestingUtility REST_TEST_UTIL
protected static Client client
protected static JAXBContext context
protected static Marshaller xmlMarshaller
protected static Unmarshaller xmlUnmarshaller
protected static Configuration conf
protected static ObjectMapper jsonMapper
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 Response getValuePB(String url) throws IOException
IOException
protected static Response putValueXML(String table, String row, String column, String value) throws IOException, JAXBException
IOException
JAXBException
protected static Response putValueXML(String url, String table, String row, String column, String value) throws IOException, JAXBException
IOException
JAXBException
protected static 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 Response checkAndPutValuePB(String url, String table, String row, String column, String valueToCheck, String valueToPut) throws IOException
IOException
protected static Response checkAndPutValuePB(String table, String row, String column, String valueToCheck, String valueToPut) throws IOException
IOException
protected static Response checkAndPutValueXML(String url, String table, String row, String column, String valueToCheck, String valueToPut) throws IOException, JAXBException
IOException
JAXBException
protected static Response checkAndPutValueXML(String table, String row, String column, String valueToCheck, String valueToPut) throws IOException, JAXBException
IOException
JAXBException
protected static Response checkAndDeleteXML(String url, String table, String row, String column, String valueToCheck) throws IOException, JAXBException
IOException
JAXBException
protected static Response checkAndDeleteXML(String table, String row, String column, String valueToCheck) throws IOException, JAXBException
IOException
JAXBException
protected static Response checkAndDeleteJson(String table, String row, String column, String valueToCheck) throws IOException, JAXBException
IOException
JAXBException
protected static Response checkAndDeleteJson(String url, String table, String row, String column, String valueToCheck) throws IOException, JAXBException
IOException
JAXBException
protected static Response checkAndDeletePB(String table, String row, String column, String value) throws IOException
IOException
protected static Response checkAndDeleteValuePB(String url, String table, String row, String column, String valueToCheck) throws IOException
IOException
protected static Response getValueXML(String table, String startRow, String endRow, String column) throws IOException
IOException
protected static Response getValueXML(String url) throws IOException
IOException
protected static Response getValueJson(String url) throws IOException
IOException
protected static Response deleteValue(String table, String row, String column) throws IOException
IOException
protected static Response getValueXML(String table, String row, String column) throws IOException
IOException
protected static Response deleteRow(String table, String row) throws IOException
IOException
protected static 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, JAXBException
IOException
JAXBException
protected static Response putValueJson(String table, String row, String column, String value) throws IOException, JAXBException
IOException
JAXBException
protected static Response putValueJson(String url, String table, String row, String column, String value) throws IOException, JAXBException
IOException
JAXBException