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
javax.xml.bind.JAXBException
-
testSingleCellGetPutXML
- Throws:
IOException
javax.xml.bind.JAXBException
-
testSingleCellGetPutPB
- Throws:
IOException
javax.xml.bind.JAXBException
-
testMultipleCellCheckPutPB
- Throws:
IOException
-
testMultipleCellCheckPutXML
- Throws:
IOException
javax.xml.bind.JAXBException
-
testMultipleCellCheckDeletePB
- Throws:
IOException
-
testSingleCellGetPutBinary
- Throws:
IOException
-
testSingleCellGetJSON
- Throws:
IOException
-
testLatestCellGetJSON
- Throws:
IOException
-
testURLEncodedKey
- Throws:
IOException
javax.xml.bind.JAXBException
-
setupValue1
- Throws:
IOException
javax.xml.bind.JAXBException
-
checkValue1
private void checkValue1(org.apache.hadoop.hbase.rest.client.Response getResponse) throws javax.xml.bind.JAXBException - Throws:
javax.xml.bind.JAXBException
-
testUrlB64EncodedKeyQueryParam
- Throws:
IOException
javax.xml.bind.JAXBException
-
testUrlB64EncodedKeyHeader
- Throws:
IOException
javax.xml.bind.JAXBException
-
testNoSuchCF
- Throws:
IOException
-
testMultiCellGetPutXML
- Throws:
IOException
javax.xml.bind.JAXBException
-
testMultiCellGetPutPB
- Throws:
IOException
-
testStartEndRowGetPutXML
- Throws:
IOException
javax.xml.bind.JAXBException
-
testInvalidCheckParam
- Throws:
IOException
javax.xml.bind.JAXBException
-
testInvalidColumnPut
- Throws:
IOException
javax.xml.bind.JAXBException
-
testMultiCellGetJson
- Throws:
IOException
javax.xml.bind.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
javax.xml.bind.JAXBException
-
testSuffixGlobbingXML
- Throws:
IOException
javax.xml.bind.JAXBException
-
testAppendXML
- Throws:
IOException
javax.xml.bind.JAXBException
-
testAppendPB
- Throws:
IOException
javax.xml.bind.JAXBException
-
testAppendJSON
- Throws:
IOException
javax.xml.bind.JAXBException
-
testIncrementXML
- Throws:
IOException
javax.xml.bind.JAXBException
-
testIncrementPB
- Throws:
IOException
javax.xml.bind.JAXBException
-
testIncrementJSON
- Throws:
IOException
javax.xml.bind.JAXBException
-