Package org.apache.hadoop.hbase.rest
Class TestTableResource
java.lang.Object
org.apache.hadoop.hbase.rest.TestTableResource
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate static org.apache.hadoop.hbase.rest.client.Clientprivate static final Stringprivate static final Stringprivate static JAXBContextprivate static final org.slf4j.Loggerprivate static final intprivate static List<org.apache.hadoop.hbase.HRegionLocation>private static final HBaseRESTTestingUtilityprivate static final org.apache.hadoop.hbase.TableNameprivate static final HBaseTestingUtility -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) voidcheckTableInfo(org.apache.hadoop.hbase.rest.model.TableInfoModel model) private static voidcheckTableList(org.apache.hadoop.hbase.rest.model.TableListModel model) static voidstatic voidvoidvoidvoidvoidvoidvoidvoidvoidvoid
-
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:
IOExceptionJAXBException
-
testTableListJSON
- Throws:
IOException
-
testTableListPB
- Throws:
IOExceptionJAXBException
-
testTableInfoText
- Throws:
IOException
-
testTableInfoXML
- Throws:
IOExceptionJAXBException
-
testTableInfoJSON
- Throws:
IOException
-
testTableInfoPB
- Throws:
IOExceptionJAXBException
-
testTableNotFound
- Throws:
IOException
-