Package org.apache.hadoop.hbase.rest
Class TestScannerResource
java.lang.Object
org.apache.hadoop.hbase.rest.TestScannerResource
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Stringprivate static final Stringstatic final HBaseClassTestRuleprivate static org.apache.hadoop.hbase.rest.client.Clientprivate static final Stringprivate static final Stringprivate static org.apache.hadoop.conf.Configurationprivate static javax.xml.bind.JAXBContextprivate static intprivate static intprivate static final org.slf4j.Loggerprivate static javax.xml.bind.Marshallerprivate static final Stringprivate static final HBaseRESTTestingUtilityprivate static final org.apache.hadoop.hbase.TableNameprivate static final org.apache.hadoop.hbase.TableNameprivate static final HBaseTestingUtilprivate static javax.xml.bind.Unmarshaller -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static intcountCellSet(org.apache.hadoop.hbase.rest.model.CellSetModel model) voidprivate static intfullTableScan(org.apache.hadoop.hbase.rest.model.ScannerModel model) (package private) static intinsertData(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.TableName tableName, String column, double prob) static voidstatic voidvoidvoidvoidvoidvoidvoidvoidvoid
-
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:
IOExceptionjavax.xml.bind.JAXBException
-
testSimpleScannerPB
- Throws:
IOException
-
testSimpleScannerBinary
- Throws:
IOException
-
testFullTableScan
- Throws:
IOException
-
testTableDoesNotExist
- Throws:
IOExceptionjavax.xml.bind.JAXBException
-
testTableScanWithTableDisable
- Throws:
IOException
-
deleteNonExistent
- Throws:
IOException
-
testScannerWithIncludeStartStopRowXML
public void testScannerWithIncludeStartStopRowXML() throws IOException, javax.xml.bind.JAXBException- Throws:
IOExceptionjavax.xml.bind.JAXBException
-
testScannerWithIncludeStartStopRowPB
- Throws:
IOException
-