static class HFilePerformanceEvaluation.UniformRandomSmallScan extends HFilePerformanceEvaluation.ReadBenchmark
Modifier and Type | Field and Description |
---|---|
private Random |
random |
reader
Constructor and Description |
---|
UniformRandomSmallScan(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) |
private byte[] |
getRandomRow() |
setUp, tearDown
getReportingPeriod, run
public UniformRandomSmallScan(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path mf, int totalRows)
void doRow(int i) throws Exception
doRow
in class HFilePerformanceEvaluation.RowOrientedBenchmark
Exception
private byte[] getRandomRow()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.