Package org.apache.hadoop.hbase
Class HFilePerformanceEvaluation.ReadBenchmark
java.lang.Object
org.apache.hadoop.hbase.HFilePerformanceEvaluation.RowOrientedBenchmark
org.apache.hadoop.hbase.HFilePerformanceEvaluation.ReadBenchmark
- Direct Known Subclasses:
HFilePerformanceEvaluation.GaussianRandomReadBenchmark
,HFilePerformanceEvaluation.SequentialReadBenchmark
,HFilePerformanceEvaluation.UniformRandomReadBenchmark
,HFilePerformanceEvaluation.UniformRandomSmallScan
- Enclosing class:
- HFilePerformanceEvaluation
abstract static class HFilePerformanceEvaluation.ReadBenchmark
extends HFilePerformanceEvaluation.RowOrientedBenchmark
-
Field Summary
-
Constructor Summary
ConstructorDescriptionReadBenchmark
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path mf, int totalRows) -
Method Summary
Methods inherited from class org.apache.hadoop.hbase.HFilePerformanceEvaluation.RowOrientedBenchmark
doRow, getReportingPeriod, run
-
Field Details
-
reader
-
-
Constructor Details
-
ReadBenchmark
public ReadBenchmark(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path mf, int totalRows)
-
-
Method Details
-
setUp
- Overrides:
setUp
in classHFilePerformanceEvaluation.RowOrientedBenchmark
- Throws:
Exception
-
tearDown
- Overrides:
tearDown
in classHFilePerformanceEvaluation.RowOrientedBenchmark
- Throws:
Exception
-