public class TestGetAndPutResource extends RowResourceBase
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static MetricsAssertHelper |
METRICS_ASSERT |
CFA, CFB, client, COLUMN_1, COLUMN_2, COLUMN_3, conf, context, jsonMapper, REST_TEST_UTIL, ROW_1, ROW_2, ROW_3, ROW_4, TABLE, TABLE_NAME, TEST_UTIL, VALUE_1, VALUE_2, VALUE_3, VALUE_4, VALUE_5, VALUE_6, xmlMarshaller, xmlUnmarshaller| Constructor and Description |
|---|
TestGetAndPutResource() |
| Modifier and Type | Method and Description |
|---|---|
private boolean |
containsCellModel(List<org.apache.hadoop.hbase.rest.model.CellModel> cells,
String column,
String value) |
void |
testAppendJSON() |
void |
testAppendPB() |
void |
testAppendXML() |
void |
testForbidden() |
void |
testIncrementJSON() |
void |
testIncrementPB() |
void |
testIncrementXML() |
void |
testInvalidCheckParam() |
void |
testInvalidColumnPut() |
void |
testLatestCellGetJSON() |
void |
testMetrics() |
void |
testMultiCellGetJson() |
void |
testMultiCellGetPutPB() |
void |
testMultiCellGetPutXML() |
void |
testMultiColumnGetXML() |
void |
testMultipleCellCheckDeletePB() |
void |
testMultipleCellCheckPutPB() |
void |
testMultipleCellCheckPutXML() |
void |
testNoSuchCF() |
void |
testSingleCellGetJSON() |
void |
testSingleCellGetPutBinary() |
void |
testSingleCellGetPutPB() |
void |
testSingleCellGetPutXML() |
void |
testStartEndRowGetPutXML() |
void |
testSuffixGlobbingXML() |
void |
testSuffixGlobbingXMLWithNewScanner() |
void |
testURLEncodedKey() |
afterMethod, appendValueJson, appendValuePB, appendValueXML, beforeMethod, checkAndDeleteJson, checkAndDeleteJson, checkAndDeleteJson, checkAndDeletePB, checkAndDeletePB, checkAndDeleteValuePB, checkAndDeleteXML, checkAndDeleteXML, checkAndDeleteXML, checkAndPutValuePB, checkAndPutValuePB, checkAndPutValuePB, checkAndPutValueXML, checkAndPutValueXML, checkAndPutValueXML, checkIncrementValueJSON, checkIncrementValuePB, checkIncrementValueXML, checkValueJSON, checkValuePB, checkValueXML, checkValueXML, deleteRow, deleteValue, getValueJson, getValueJson, getValuePB, getValuePB, getValueXML, getValueXML, getValueXML, incrementValueJson, incrementValuePB, incrementValueXML, putValueJson, putValueJson, putValuePB, putValuePB, putValueXML, putValueXML, setUpBeforeClass, tearDownAfterClasspublic static final HBaseClassTestRule CLASS_RULE
private static final MetricsAssertHelper METRICS_ASSERT
public TestGetAndPutResource()
public void testForbidden() throws IOException, JAXBException
IOExceptionJAXBExceptionpublic void testSingleCellGetPutXML() throws IOException, JAXBException
IOExceptionJAXBExceptionpublic void testSingleCellGetPutPB() throws IOException, JAXBException
IOExceptionJAXBExceptionpublic void testMultipleCellCheckPutPB() throws IOException, JAXBException
IOExceptionJAXBExceptionpublic void testMultipleCellCheckPutXML() throws IOException, JAXBException
IOExceptionJAXBExceptionpublic void testMultipleCellCheckDeletePB() throws IOException, JAXBException
IOExceptionJAXBExceptionpublic void testSingleCellGetPutBinary() throws IOException
IOExceptionpublic void testSingleCellGetJSON() throws IOException, JAXBException
IOExceptionJAXBExceptionpublic void testLatestCellGetJSON() throws IOException, JAXBException
IOExceptionJAXBExceptionpublic void testURLEncodedKey() throws IOException, JAXBException
IOExceptionJAXBExceptionpublic void testNoSuchCF() throws IOException, JAXBException
IOExceptionJAXBExceptionpublic void testMultiCellGetPutXML() throws IOException, JAXBException
IOExceptionJAXBExceptionpublic void testMultiCellGetPutPB() throws IOException
IOExceptionpublic void testStartEndRowGetPutXML() throws IOException, JAXBException
IOExceptionJAXBExceptionpublic void testInvalidCheckParam() throws IOException, JAXBException
IOExceptionJAXBExceptionpublic void testInvalidColumnPut() throws IOException, JAXBException
IOExceptionJAXBExceptionpublic void testMultiCellGetJson() throws IOException, JAXBException
IOExceptionJAXBExceptionpublic void testMetrics() throws IOException, JAXBException
IOExceptionJAXBExceptionpublic void testMultiColumnGetXML() throws Exception
Exceptionprivate boolean containsCellModel(List<org.apache.hadoop.hbase.rest.model.CellModel> cells, String column, String value)
public void testSuffixGlobbingXMLWithNewScanner() throws IOException, JAXBException
IOExceptionJAXBExceptionpublic void testSuffixGlobbingXML() throws IOException, JAXBException
IOExceptionJAXBExceptionpublic void testAppendXML() throws IOException, JAXBException
IOExceptionJAXBExceptionpublic void testAppendPB() throws IOException, JAXBException
IOExceptionJAXBExceptionpublic void testAppendJSON() throws IOException, JAXBException
IOExceptionJAXBExceptionpublic void testIncrementXML() throws IOException, JAXBException
IOExceptionJAXBExceptionpublic void testIncrementPB() throws IOException, JAXBException
IOExceptionJAXBExceptionpublic void testIncrementJSON() throws IOException, JAXBException
IOExceptionJAXBExceptionCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.