Package org.apache.hadoop.hbase.rest
Class TestScannerResource
java.lang.Object
org.apache.hadoop.hbase.rest.TestScannerResource
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final String
private static final String
static final HBaseClassTestRule
private static org.apache.hadoop.hbase.rest.client.Client
private static final String
private static final String
private static org.apache.hadoop.conf.Configuration
private static JAXBContext
private static int
private static int
private static final org.slf4j.Logger
private static Marshaller
private static final String
private static final HBaseRESTTestingUtility
private static final org.apache.hadoop.hbase.TableName
private static final org.apache.hadoop.hbase.TableName
private static final HBaseTestingUtility
private static Unmarshaller
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) static int
countCellSet
(org.apache.hadoop.hbase.rest.model.CellSetModel model) private static int
fullTableScan
(org.apache.hadoop.hbase.rest.model.ScannerModel model) (package private) static int
insertData
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.TableName tableName, String column, double prob) static void
static void
void
void
void
void
void
void
-
Field Details
-
CLASS_RULE
-
LOG
-
TABLE
-
TABLE_TO_BE_DISABLED
-
NONEXISTENT_TABLE
- See Also:
-
CFA
- See Also:
-
CFB
- See Also:
-
COLUMN_1
- See Also:
-
COLUMN_2
- See Also:
-
TEST_UTIL
-
REST_TEST_UTIL
-
client
-
context
-
marshaller
-
unmarshaller
-
expectedRows1
-
expectedRows2
-
conf
-
-
Constructor Details
-
TestScannerResource
public TestScannerResource()
-
-
Method Details
-
insertData
static int insertData(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.TableName tableName, String column, double prob) throws IOException - Throws:
IOException
-
countCellSet
-
fullTableScan
private static int fullTableScan(org.apache.hadoop.hbase.rest.model.ScannerModel model) throws IOException - Throws:
IOException
-
setUpBeforeClass
- Throws:
Exception
-
tearDownAfterClass
- Throws:
Exception
-
testSimpleScannerXML
- Throws:
IOException
JAXBException
-
testSimpleScannerPB
- Throws:
IOException
-
testSimpleScannerBinary
- Throws:
IOException
-
testFullTableScan
- Throws:
IOException
-
testTableDoesNotExist
- Throws:
IOException
JAXBException
-
testTableScanWithTableDisable
- Throws:
IOException
-