Package org.apache.hadoop.hbase.rest
Class TestSchemaResource
java.lang.Object
org.apache.hadoop.hbase.rest.TestSchemaResource
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate static org.apache.hadoop.hbase.rest.client.Clientprivate static org.apache.hadoop.conf.Configurationprivate static JAXBContextprivate static booleanprivate static org.apache.http.Headerprivate static final HBaseRESTTestingUtilityprivate static Stringprivate static Stringprivate static final HBaseTestingUtilityprivate static TestTableSchemaModel -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static org.apache.hadoop.hbase.rest.model.TableSchemaModelfromXML(byte[] content) static Collection<Object[]>static voidvoidtearDown()static voidvoidvoidprivate static byte[]toXML(org.apache.hadoop.hbase.rest.model.TableSchemaModel model)
-
Field Details
-
CLASS_RULE
-
TABLE1
-
TABLE2
-
TEST_UTIL
-
REST_TEST_UTIL
-
client
-
context
-
conf
-
testTableSchemaModel
-
extraHdr
-
csrfEnabled
-
-
Constructor Details
-
TestSchemaResource
-
-
Method Details
-
parameters
-
setUpBeforeClass
- Throws:
Exception
-
tearDownAfterClass
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
toXML
private static byte[] toXML(org.apache.hadoop.hbase.rest.model.TableSchemaModel model) throws JAXBException - Throws:
JAXBException
-
fromXML
private static org.apache.hadoop.hbase.rest.model.TableSchemaModel fromXML(byte[] content) throws JAXBException - Throws:
JAXBException
-
testTableCreateAndDeleteXML
- Throws:
IOExceptionJAXBException
-
testTableCreateAndDeletePB
- Throws:
IOException
-