public class TestCellSetModel extends TestModelBase<org.apache.hadoop.hbase.rest.model.CellSetModel>
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static byte[] |
COLUMN1 |
private static byte[] |
COLUMN2 |
private static byte[] |
COLUMN3 |
private static byte[] |
ROW1 |
private static byte[] |
ROW2 |
private static long |
TIMESTAMP1 |
private static long |
TIMESTAMP2 |
private static long |
TIMESTAMP3 |
private static byte[] |
VALUE1 |
private static byte[] |
VALUE2 |
private static byte[] |
VALUE3 |
Constructor and Description |
---|
TestCellSetModel() |
Modifier and Type | Method and Description |
---|---|
protected org.apache.hadoop.hbase.rest.model.CellSetModel |
buildTestModel() |
protected void |
checkModel(org.apache.hadoop.hbase.rest.model.CellSetModel model) |
void |
testBuildModel() |
void |
testFromPB() |
void |
testFromXML() |
fromJSON, fromPB, fromXML, testFromJSON, testToJSON, testToXML, toJSON, toPB, toXML
public static final HBaseClassTestRule CLASS_RULE
private static final byte[] ROW1
private static final byte[] COLUMN1
private static final byte[] VALUE1
private static final long TIMESTAMP1
private static final byte[] ROW2
private static final byte[] COLUMN2
private static final byte[] VALUE2
private static final long TIMESTAMP2
private static final byte[] COLUMN3
private static final byte[] VALUE3
private static final long TIMESTAMP3
public TestCellSetModel() throws Exception
Exception
protected org.apache.hadoop.hbase.rest.model.CellSetModel buildTestModel()
buildTestModel
in class TestModelBase<org.apache.hadoop.hbase.rest.model.CellSetModel>
protected void checkModel(org.apache.hadoop.hbase.rest.model.CellSetModel model)
checkModel
in class TestModelBase<org.apache.hadoop.hbase.rest.model.CellSetModel>
public void testBuildModel() throws Exception
testBuildModel
in class TestModelBase<org.apache.hadoop.hbase.rest.model.CellSetModel>
Exception
public void testFromXML() throws Exception
testFromXML
in class TestModelBase<org.apache.hadoop.hbase.rest.model.CellSetModel>
Exception
public void testFromPB() throws Exception
testFromPB
in class TestModelBase<org.apache.hadoop.hbase.rest.model.CellSetModel>
Exception
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.