public class TestTableSchemaModel extends TestModelBase<org.apache.hadoop.hbase.rest.model.TableSchemaModel>
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static boolean |
IS_META |
private static boolean |
IS_ROOT |
private static org.slf4j.Logger |
LOG |
private static boolean |
READONLY |
static String |
TABLE_NAME |
(package private) TestColumnSchemaModel |
testColumnSchemaModel |
| Constructor and Description |
|---|
TestTableSchemaModel() |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.hadoop.hbase.rest.model.TableSchemaModel |
buildTestModel() |
org.apache.hadoop.hbase.rest.model.TableSchemaModel |
buildTestModel(String name) |
protected void |
checkModel(org.apache.hadoop.hbase.rest.model.TableSchemaModel model) |
void |
checkModel(org.apache.hadoop.hbase.rest.model.TableSchemaModel model,
String tableName) |
void |
testBuildModel() |
void |
testFromPB() |
void |
testFromXML() |
fromJSON, fromPB, fromXML, testFromJSON, testToJSON, testToXML, toJSON, toPB, toXMLpublic static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
public static final String TABLE_NAME
private static final boolean IS_META
private static final boolean IS_ROOT
private static final boolean READONLY
TestColumnSchemaModel testColumnSchemaModel
public TestTableSchemaModel() throws Exception
Exceptionprotected org.apache.hadoop.hbase.rest.model.TableSchemaModel buildTestModel()
buildTestModel in class TestModelBase<org.apache.hadoop.hbase.rest.model.TableSchemaModel>public org.apache.hadoop.hbase.rest.model.TableSchemaModel buildTestModel(String name)
protected void checkModel(org.apache.hadoop.hbase.rest.model.TableSchemaModel model)
checkModel in class TestModelBase<org.apache.hadoop.hbase.rest.model.TableSchemaModel>public void checkModel(org.apache.hadoop.hbase.rest.model.TableSchemaModel model, String tableName)
public void testBuildModel() throws Exception
testBuildModel in class TestModelBase<org.apache.hadoop.hbase.rest.model.TableSchemaModel>Exceptionpublic void testFromXML() throws Exception
testFromXML in class TestModelBase<org.apache.hadoop.hbase.rest.model.TableSchemaModel>Exceptionpublic void testFromPB() throws Exception
testFromPB in class TestModelBase<org.apache.hadoop.hbase.rest.model.TableSchemaModel>ExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.