static class HFilePerformanceEvaluation.SequentialWriteBenchmark extends HFilePerformanceEvaluation.RowOrientedBenchmark
Modifier and Type | Field and Description |
---|---|
private byte[] |
bytes |
protected org.apache.hadoop.hbase.io.hfile.HFile.Writer |
writer |
Constructor and Description |
---|
SequentialWriteBenchmark(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path mf,
int totalRows,
String codec,
String cipher) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
doRow(int i) |
private byte[] |
generateValue() |
protected int |
getReportingPeriod() |
(package private) void |
setUp() |
(package private) void |
tearDown() |
run
protected org.apache.hadoop.hbase.io.hfile.HFile.Writer writer
private byte[] bytes
public SequentialWriteBenchmark(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path mf, int totalRows, String codec, String cipher)
void setUp() throws Exception
setUp
in class HFilePerformanceEvaluation.RowOrientedBenchmark
Exception
void doRow(int i) throws Exception
doRow
in class HFilePerformanceEvaluation.RowOrientedBenchmark
Exception
private byte[] generateValue()
protected int getReportingPeriod()
getReportingPeriod
in class HFilePerformanceEvaluation.RowOrientedBenchmark
void tearDown() throws Exception
tearDown
in class HFilePerformanceEvaluation.RowOrientedBenchmark
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.