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 JAXBContext
private static boolean
private static org.apache.http.Header
private static final HBaseRESTTestingUtility
private static String
private static String
private static final HBaseTestingUtility
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 JAXBException - Throws:
JAXBException
-
fromXML
private static org.apache.hadoop.hbase.rest.model.TableSchemaModel fromXML(byte[] content) throws JAXBException - Throws:
JAXBException
-
testTableCreateAndDeleteXML
- Throws:
IOException
JAXBException
-
testTableCreateAndDeletePB
- Throws:
IOException
-