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
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate static final MetricsAssertHelperFields 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidcheckValue1(org.apache.hadoop.hbase.rest.client.Response getResponse) private booleancontainsCellModel(List<org.apache.hadoop.hbase.rest.model.CellModel> cells, String column, String value) private voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidMethods 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:
IOExceptionjavax.xml.bind.JAXBException
-
testSingleCellGetPutXML
- Throws:
IOExceptionjavax.xml.bind.JAXBException
-
testSingleCellGetPutPB
- Throws:
IOExceptionjavax.xml.bind.JAXBException
-
testMultipleCellCheckPutPB
- Throws:
IOException
-
testMultipleCellCheckPutXML
- Throws:
IOExceptionjavax.xml.bind.JAXBException
-
testMultipleCellCheckDeletePB
- Throws:
IOException
-
testSingleCellGetPutBinary
- Throws:
IOException
-
testSingleCellGetJSON
- Throws:
IOException
-
testLatestCellGetJSON
- Throws:
IOException
-
testURLEncodedKey
- Throws:
IOExceptionjavax.xml.bind.JAXBException
-
setupValue1
- Throws:
IOExceptionjavax.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:
IOExceptionjavax.xml.bind.JAXBException
-
testUrlB64EncodedKeyHeader
- Throws:
IOExceptionjavax.xml.bind.JAXBException
-
testNoSuchCF
- Throws:
IOException
-
testMultiCellGetPutXML
- Throws:
IOExceptionjavax.xml.bind.JAXBException
-
testMultiCellGetPutPB
- Throws:
IOException
-
testStartEndRowGetPutXML
- Throws:
IOExceptionjavax.xml.bind.JAXBException
-
testInvalidCheckParam
- Throws:
IOExceptionjavax.xml.bind.JAXBException
-
testInvalidColumnPut
- Throws:
IOExceptionjavax.xml.bind.JAXBException
-
testMultiCellGetJson
- Throws:
IOExceptionjavax.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:
IOExceptionjavax.xml.bind.JAXBException
-
testSuffixGlobbingXML
- Throws:
IOExceptionjavax.xml.bind.JAXBException
-
testAppendXML
- Throws:
IOExceptionjavax.xml.bind.JAXBException
-
testAppendPB
- Throws:
IOExceptionjavax.xml.bind.JAXBException
-
testAppendJSON
- Throws:
IOExceptionjavax.xml.bind.JAXBException
-
testIncrementXML
- Throws:
IOExceptionjavax.xml.bind.JAXBException
-
testIncrementPB
- Throws:
IOExceptionjavax.xml.bind.JAXBException
-
testIncrementJSON
- Throws:
IOExceptionjavax.xml.bind.JAXBException
-