static class HFilePerformanceEvaluation.SequentialReadBenchmark extends HFilePerformanceEvaluation.ReadBenchmark
Modifier and Type | Field and Description |
---|---|
private org.apache.hadoop.hbase.io.hfile.HFileScanner |
scanner |
reader
Constructor and Description |
---|
SequentialReadBenchmark(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path mf,
int totalRows) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
doRow(int i) |
protected int |
getReportingPeriod() |
(package private) void |
setUp() |
tearDown
run
private org.apache.hadoop.hbase.io.hfile.HFileScanner scanner
public SequentialReadBenchmark(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path mf, int totalRows)
void setUp() throws Exception
setUp
in class HFilePerformanceEvaluation.ReadBenchmark
Exception
void doRow(int i) throws Exception
doRow
in class HFilePerformanceEvaluation.RowOrientedBenchmark
Exception
protected int getReportingPeriod()
getReportingPeriod
in class HFilePerformanceEvaluation.RowOrientedBenchmark
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.