Package org.apache.hadoop.hbase.rest
Class TestTableResource
java.lang.Object
org.apache.hadoop.hbase.rest.TestTableResource
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static org.apache.hadoop.hbase.rest.client.Client
private static final String
private static final String
private static javax.xml.bind.JAXBContext
private static final org.slf4j.Logger
private static final int
private static List<org.apache.hadoop.hbase.HRegionLocation>
private static final HBaseRESTTestingUtility
private static final org.apache.hadoop.hbase.TableName
private static final HBaseTestingUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) void
checkTableInfo
(org.apache.hadoop.hbase.rest.model.TableInfoModel model) private static void
checkTableList
(org.apache.hadoop.hbase.rest.model.TableListModel model) static void
static void
void
void
void
void
void
void
void
void
void
-
Field Details
-
CLASS_RULE
-
LOG
-
TABLE
-
COLUMN_FAMILY
- See Also:
-
COLUMN
- See Also:
-
NUM_REGIONS
- See Also:
-
regionMap
-
TEST_UTIL
-
REST_TEST_UTIL
-
client
-
context
-
-
Constructor Details
-
TestTableResource
public TestTableResource()
-
-
Method Details
-
setUpBeforeClass
- Throws:
Exception
-
tearDownAfterClass
- Throws:
Exception
-
checkTableList
-
checkTableInfo
-
testTableListText
- Throws:
IOException
-
testTableListXML
- Throws:
IOException
javax.xml.bind.JAXBException
-
testTableListJSON
- Throws:
IOException
-
testTableListPB
- Throws:
IOException
javax.xml.bind.JAXBException
-
testTableInfoText
- Throws:
IOException
-
testTableInfoXML
- Throws:
IOException
javax.xml.bind.JAXBException
-
testTableInfoJSON
- Throws:
IOException
-
testTableInfoPB
- Throws:
IOException
javax.xml.bind.JAXBException
-
testTableNotFound
- Throws:
IOException
-