public class TestScannerModel extends TestModelBase<org.apache.hadoop.hbase.rest.model.ScannerModel>
Modifier and Type | Field and Description |
---|---|
private static int |
BATCH |
private static boolean |
CACHE_BLOCKS |
private static int |
CACHING |
static HBaseClassTestRule |
CLASS_RULE |
private static byte[] |
COLUMN1 |
private static byte[] |
COLUMN2 |
private static byte[] |
END_ROW |
private static long |
END_TIME |
private static String |
PRIVATE |
private static String |
PUBLIC |
private static byte[] |
START_ROW |
private static long |
START_TIME |
Constructor and Description |
---|
TestScannerModel() |
Modifier and Type | Method and Description |
---|---|
protected org.apache.hadoop.hbase.rest.model.ScannerModel |
buildTestModel() |
protected void |
checkModel(org.apache.hadoop.hbase.rest.model.ScannerModel model) |
void |
tesIncorrecttFilterThrowsJPE() |
void |
testExistingFilter() |
void |
testIncorrectFilterThrowsJME() |
void |
testNonExistingFilter() |
private void |
verifyException(String FILTER) |
fromJSON, fromPB, fromXML, testBuildModel, testFromJSON, testFromPB, testFromXML, testToJSON, testToXML, toJSON, toPB, toXML
public static final HBaseClassTestRule CLASS_RULE
private static final String PRIVATE
private static final String PUBLIC
private static final byte[] START_ROW
private static final byte[] END_ROW
private static final byte[] COLUMN1
private static final byte[] COLUMN2
private static final long START_TIME
private static final long END_TIME
private static final int CACHING
private static final int BATCH
private static final boolean CACHE_BLOCKS
public TestScannerModel() throws Exception
Exception
protected org.apache.hadoop.hbase.rest.model.ScannerModel buildTestModel()
buildTestModel
in class TestModelBase<org.apache.hadoop.hbase.rest.model.ScannerModel>
protected void checkModel(org.apache.hadoop.hbase.rest.model.ScannerModel model)
checkModel
in class TestModelBase<org.apache.hadoop.hbase.rest.model.ScannerModel>
public void testExistingFilter() throws Exception
Exception
public void testNonExistingFilter() throws Exception
Exception
public void testIncorrectFilterThrowsJME() throws Exception
Exception
public void tesIncorrecttFilterThrowsJPE() throws Exception
Exception
private void verifyException(String FILTER) throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.