Package org.apache.hadoop.hbase.rest
Class TestSchemaResource
java.lang.Object
org.apache.hadoop.hbase.rest.TestSchemaResource
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static org.apache.hadoop.hbase.rest.client.Client
private static org.apache.hadoop.conf.Configuration
private static javax.xml.bind.JAXBContext
private static boolean
private static org.apache.http.Header
private static final HBaseRESTTestingUtility
private static String
private static String
private static final HBaseTestingUtil
private static TestTableSchemaModel
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static org.apache.hadoop.hbase.rest.model.TableSchemaModel
fromXML
(byte[] content) static Collection<Object[]>
static void
void
tearDown()
static void
void
void
private 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 javax.xml.bind.JAXBException - Throws:
javax.xml.bind.JAXBException
-
fromXML
private static org.apache.hadoop.hbase.rest.model.TableSchemaModel fromXML(byte[] content) throws javax.xml.bind.JAXBException - Throws:
javax.xml.bind.JAXBException
-
testTableCreateAndDeleteXML
- Throws:
IOException
javax.xml.bind.JAXBException
-
testTableCreateAndDeletePB
- Throws:
IOException
-