Package org.apache.hadoop.hbase.io.hfile
Class TestScannerFromBucketCache
java.lang.Object
org.apache.hadoop.hbase.io.hfile.TestScannerFromBucketCache
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private org.apache.hadoop.conf.Configuration
private static final org.slf4j.Logger
private final int
org.junit.rules.TestName
(package private) org.apache.hadoop.hbase.regionserver.HRegion
private org.apache.hadoop.hbase.TableName
private HBaseTestingUtil
(package private) byte[]
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) String
getName()
private static org.apache.hadoop.hbase.regionserver.HRegion
initHRegion
(org.apache.hadoop.hbase.TableName tableName, byte[] startKey, byte[] stopKey, String callingMethod, org.apache.hadoop.conf.Configuration conf, HBaseTestingUtil testUtil, boolean isReadOnly, byte[]... families) private static org.apache.hadoop.hbase.regionserver.HRegion
initHRegion
(org.apache.hadoop.hbase.TableName tableName, String callingMethod, org.apache.hadoop.conf.Configuration conf, HBaseTestingUtil test_util, byte[]... families) private List<org.apache.hadoop.hbase.ExtendedCell>
insertData
(byte[] row1, byte[] qf1, byte[] qf2, byte[] fam1, long ts1, long ts2, long ts3, boolean withVal) private List<org.apache.hadoop.hbase.ExtendedCell>
performScan
(byte[] row1, byte[] fam1) private void
setUp
(boolean useBucketCache) void
tearDown()
void
void
void
-
Field Details
-
Constructor Details
-
TestScannerFromBucketCache
public TestScannerFromBucketCache()
-
-
Method Details
-
setUp
- Throws:
IOException
-
tearDown
- Throws:
Exception
-
getName
-
testBasicScanWithLRUCache
- Throws:
IOException
-
testBasicScanWithOffheapBucketCache
- Throws:
IOException
-
testBasicScanWithOffheapBucketCacheWithMBB
- Throws:
IOException
-
insertData
private List<org.apache.hadoop.hbase.ExtendedCell> insertData(byte[] row1, byte[] qf1, byte[] qf2, byte[] fam1, long ts1, long ts2, long ts3, boolean withVal) throws IOException - Throws:
IOException
-
performScan
private List<org.apache.hadoop.hbase.ExtendedCell> performScan(byte[] row1, byte[] fam1) throws IOException - Throws:
IOException
-
initHRegion
private static org.apache.hadoop.hbase.regionserver.HRegion initHRegion(org.apache.hadoop.hbase.TableName tableName, String callingMethod, org.apache.hadoop.conf.Configuration conf, HBaseTestingUtil test_util, byte[]... families) throws IOException - Throws:
IOException
-
initHRegion
private static org.apache.hadoop.hbase.regionserver.HRegion initHRegion(org.apache.hadoop.hbase.TableName tableName, byte[] startKey, byte[] stopKey, String callingMethod, org.apache.hadoop.conf.Configuration conf, HBaseTestingUtil testUtil, boolean isReadOnly, byte[]... families) throws IOException - Throws:
IOException
-