Package org.apache.hadoop.hbase.rest
Class TestGetAndPutResource
java.lang.Object
org.apache.hadoop.hbase.rest.RowResourceBase
org.apache.hadoop.hbase.rest.TestGetAndPutResource
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static final MetricsAssertHelper
Fields inherited from class org.apache.hadoop.hbase.rest.RowResourceBase
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
checkValue1
(org.apache.hadoop.hbase.rest.client.Response getResponse) private boolean
containsCellModel
(List<org.apache.hadoop.hbase.rest.model.CellModel> cells, String column, String value) private void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
Methods inherited from class org.apache.hadoop.hbase.rest.RowResourceBase
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, deleteRowB64, deleteValue, deleteValueB64, getValueJson, getValueJson, getValuePB, getValuePB, getValueXML, getValueXML, getValueXML, getValueXML, incrementValueJson, incrementValuePB, incrementValueXML, putValueJson, putValueJson, putValuePB, putValuePB, putValueXML, putValueXML, setUpBeforeClass, tearDownAfterClass
-
Field Details
-
CLASS_RULE
-
METRICS_ASSERT
-
-
Constructor Details
-
TestGetAndPutResource
public TestGetAndPutResource()
-
-
Method Details
-
testForbidden
- Throws:
IOException
JAXBException
-
testSingleCellGetPutXML
- Throws:
IOException
JAXBException
-
testSingleCellGetPutPB
- Throws:
IOException
JAXBException
-
testMultipleCellCheckPutPB
- Throws:
IOException
-
testMultipleCellCheckPutXML
- Throws:
IOException
JAXBException
-
testMultipleCellCheckDeletePB
- Throws:
IOException
-
testSingleCellGetPutBinary
- Throws:
IOException
-
testSingleCellGetJSON
- Throws:
IOException
-
testLatestCellGetJSON
- Throws:
IOException
-
testURLEncodedKey
- Throws:
IOException
JAXBException
-
setupValue1
- Throws:
IOException
JAXBException
-
checkValue1
private void checkValue1(org.apache.hadoop.hbase.rest.client.Response getResponse) throws JAXBException - Throws:
JAXBException
-
testUrlB64EncodedKeyQueryParam
- Throws:
IOException
JAXBException
-
testUrlB64EncodedKeyHeader
- Throws:
IOException
JAXBException
-
testNoSuchCF
- Throws:
IOException
-
testMultiCellGetPutXML
- Throws:
IOException
JAXBException
-
testMultiCellGetPutPB
- Throws:
IOException
-
testStartEndRowGetPutXML
- Throws:
IOException
JAXBException
-
testInvalidCheckParam
- Throws:
IOException
JAXBException
-
testInvalidColumnPut
- Throws:
IOException
JAXBException
-
testMultiCellGetJson
- Throws:
IOException
JAXBException
-
testMetrics
- Throws:
IOException
-
testMultiColumnGetXML
- Throws:
Exception
-
containsCellModel
private boolean containsCellModel(List<org.apache.hadoop.hbase.rest.model.CellModel> cells, String column, String value) -
testSuffixGlobbingXMLWithNewScanner
- Throws:
IOException
JAXBException
-
testSuffixGlobbingXML
- Throws:
IOException
JAXBException
-
testAppendXML
- Throws:
IOException
JAXBException
-
testAppendPB
- Throws:
IOException
JAXBException
-
testAppendJSON
- Throws:
IOException
JAXBException
-
testIncrementXML
- Throws:
IOException
JAXBException
-
testIncrementPB
- Throws:
IOException
JAXBException
-
testIncrementJSON
- Throws:
IOException
JAXBException
-