Class TestScannerModel
java.lang.Object
org.apache.hadoop.hbase.rest.model.TestModelBase<org.apache.hadoop.hbase.rest.model.ScannerModel>
org.apache.hadoop.hbase.rest.model.TestScannerModel
public class TestScannerModel
extends TestModelBase<org.apache.hadoop.hbase.rest.model.ScannerModel>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final intprivate static final booleanprivate static final intstatic final HBaseClassTestRuleprivate static final byte[]private static final byte[]private static final byte[]private static final longprivate static final intprivate static final Stringprivate static final Stringprivate static final byte[]private static final long -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.hadoop.hbase.rest.model.ScannerModelprotected org.apache.hadoop.hbase.rest.model.ScannerModelbuildTestModelWithIncludeStartRowAndIncludeStopRow(boolean includeStartRow, boolean includeStopRow) protected voidcheckModel(org.apache.hadoop.hbase.rest.model.ScannerModel model) voidvoidvoidvoidvoidprivate voidverifyException(String FILTER) Methods inherited from class org.apache.hadoop.hbase.rest.model.TestModelBase
fromJSON, fromPB, fromXML, testBuildModel, testFromJSON, testFromPB, testFromXML, testToJSON, testToXML, toJSON, toPB, toXML
-
Field Details
-
CLASS_RULE
-
PRIVATE
- See Also:
-
PUBLIC
- See Also:
-
START_ROW
-
END_ROW
-
COLUMN1
-
COLUMN2
-
START_TIME
- See Also:
-
END_TIME
- See Also:
-
CACHING
- See Also:
-
LIMIT
- See Also:
-
BATCH
- See Also:
-
CACHE_BLOCKS
- See Also:
-
-
Constructor Details
-
TestScannerModel
- Throws:
Exception
-
-
Method Details
-
buildTestModel
- Specified by:
buildTestModelin classTestModelBase<org.apache.hadoop.hbase.rest.model.ScannerModel>
-
checkModel
- Specified by:
checkModelin classTestModelBase<org.apache.hadoop.hbase.rest.model.ScannerModel>
-
testExistingFilter
- Throws:
Exception
-
testNonExistingFilter
- Throws:
Exception
-
testIncorrectFilterThrowsJME
- Throws:
Exception
-
tesIncorrecttFilterThrowsJPE
- Throws:
Exception
-
verifyException
- Throws:
Exception
-
testToJsonWithIncludeStartRowAndIncludeStopRow
- Throws:
Exception
-
buildTestModelWithIncludeStartRowAndIncludeStopRow
protected org.apache.hadoop.hbase.rest.model.ScannerModel buildTestModelWithIncludeStartRowAndIncludeStopRow(boolean includeStartRow, boolean includeStopRow)
-