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 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 HBaseTestingUtility
-
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
JAXBException
-
testTableListJSON
- Throws:
IOException
-
testTableListPB
- Throws:
IOException
JAXBException
-
testTableInfoText
- Throws:
IOException
-
testTableInfoXML
- Throws:
IOException
JAXBException
-
testTableInfoJSON
- Throws:
IOException
-
testTableInfoPB
- Throws:
IOException
JAXBException
-
testTableNotFound
- Throws:
IOException
-