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, 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, JAXBException
IOException
JAXBException
public void testMultipleCellCheckPutXML() throws IOException, JAXBException
IOException
JAXBException
public void testMultipleCellCheckDeletePB() throws IOException, JAXBException
IOException
JAXBException
public void testSingleCellGetPutBinary() throws IOException
IOException
public void testSingleCellGetJSON() throws IOException, JAXBException
IOException
JAXBException
public void testLatestCellGetJSON() throws IOException, JAXBException
IOException
JAXBException
public void testURLEncodedKey() throws IOException, JAXBException
IOException
JAXBException
public void testNoSuchCF() throws IOException, JAXBException
IOException
JAXBException
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, JAXBException
IOException
JAXBException
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–2019 The Apache Software Foundation. All rights reserved.