Class TestSwitchToStreamRead
java.lang.Object
org.apache.hadoop.hbase.regionserver.TestSwitchToStreamRead
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic final classstatic final classstatic final class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate static byte[]private static byte[]private static org.apache.hadoop.hbase.regionserver.HRegionprivate static org.apache.hadoop.hbase.TableNameprivate static final HBaseTestingUtilprivate static String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetUp()voidtearDown()voidtest()private voidtestFilter(org.apache.hadoop.hbase.filter.Filter filter) voidvoidvoidvoidvoidVerifies that when the store scanner switches from pread to stream read successfully, all store files that were read (including those closed during the switch) are reported byStoreScanner.getFilesRead()after close.
-
Field Details
-
CLASS_RULE
-
UTIL
-
TABLE_NAME
-
FAMILY
-
QUAL
-
VALUE_PREFIX
-
REGION
-
-
Constructor Details
-
TestSwitchToStreamRead
public TestSwitchToStreamRead()
-
-
Method Details
-
setUp
- Throws:
IOException
-
tearDown
- Throws:
IOException
-
test
- Throws:
IOException
-
testFilter
- Throws:
IOException
-
testFilterRowKey
- Throws:
IOException
-
testFilterCellNextCol
- Throws:
IOException
-
testFilterCellNextRow
- Throws:
IOException
-
testFilterRow
- Throws:
IOException
-
testGetFilesReadOnTrySwitchToStreamRead
Verifies that when the store scanner switches from pread to stream read successfully, all store files that were read (including those closed during the switch) are reported byStoreScanner.getFilesRead()after close.- Throws:
Exception
-