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() |
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
public static final HBaseClassTestRule CLASS_RULE
private static final MetricsAssertHelper METRICS_ASSERT
public TestGetAndPutResource()
public void testForbidden() throws IOException, JAXBException
IOException
JAXBException
public void testSingleCellGetPutXML() throws IOException, JAXBException
IOException
JAXBException
public void testSingleCellGetPutPB() throws IOException, JAXBException
IOException
JAXBException
public void testMultipleCellCheckPutPB() throws IOException
IOException
public void testMultipleCellCheckPutXML() throws IOException, JAXBException
IOException
JAXBException
public void testMultipleCellCheckDeletePB() throws IOException
IOException
public void testSingleCellGetPutBinary() throws IOException
IOException
public void testSingleCellGetJSON() throws IOException
IOException
public void testLatestCellGetJSON() throws IOException
IOException
public void testURLEncodedKey() throws IOException, JAXBException
IOException
JAXBException
private void setupValue1() throws IOException, JAXBException
IOException
JAXBException
private void checkValue1(org.apache.hadoop.hbase.rest.client.Response getResponse) throws JAXBException
JAXBException
public void testUrlB64EncodedKeyQueryParam() throws IOException, JAXBException
IOException
JAXBException
public void testUrlB64EncodedKeyHeader() throws IOException, JAXBException
IOException
JAXBException
public void testNoSuchCF() throws IOException
IOException
public void testMultiCellGetPutXML() throws IOException, JAXBException
IOException
JAXBException
public void testMultiCellGetPutPB() throws IOException
IOException
public void testStartEndRowGetPutXML() throws IOException, JAXBException
IOException
JAXBException
public void testInvalidCheckParam() throws IOException, JAXBException
IOException
JAXBException
public void testInvalidColumnPut() throws IOException, JAXBException
IOException
JAXBException
public void testMultiCellGetJson() throws IOException, JAXBException
IOException
JAXBException
public void testMetrics() throws IOException
IOException
public void testMultiColumnGetXML() throws Exception
Exception
private boolean containsCellModel(List<org.apache.hadoop.hbase.rest.model.CellModel> cells, String column, String value)
public void testSuffixGlobbingXMLWithNewScanner() throws IOException, JAXBException
IOException
JAXBException
public void testSuffixGlobbingXML() throws IOException, JAXBException
IOException
JAXBException
public void testAppendXML() throws IOException, JAXBException
IOException
JAXBException
public void testAppendPB() throws IOException, JAXBException
IOException
JAXBException
public void testAppendJSON() throws IOException, JAXBException
IOException
JAXBException
public void testIncrementXML() throws IOException, JAXBException
IOException
JAXBException
public void testIncrementPB() throws IOException, JAXBException
IOException
JAXBException
public void testIncrementJSON() throws IOException, JAXBException
IOException
JAXBException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.