abstract static class PerformanceEvaluation.RandomScanWithRangeTest extends PerformanceEvaluation.TableTest
table
conf, connection, noOfTags, perClientRunRows, rand, startRow, tableName, totalRows, useTags, writeToWAL
Constructor and Description |
---|
RandomScanWithRangeTest(org.apache.hadoop.conf.Configuration conf,
PerformanceEvaluation.TestOptions options,
PerformanceEvaluation.Status status) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.hadoop.hbase.util.Pair<byte[],byte[]> |
generateStartAndStopRows(int maxRange) |
protected int |
getReportingPeriod() |
protected abstract org.apache.hadoop.hbase.util.Pair<byte[],byte[]> |
getStartAndStopRow() |
(package private) void |
testRow(int i)
Test for individual row.
|
testSetup, testTakedown
generateStatus, test, testTimed
RandomScanWithRangeTest(org.apache.hadoop.conf.Configuration conf, PerformanceEvaluation.TestOptions options, PerformanceEvaluation.Status status)
void testRow(int i) throws IOException
PerformanceEvaluation.Test
testRow
in class PerformanceEvaluation.Test
i
- Row index.IOException
protected abstract org.apache.hadoop.hbase.util.Pair<byte[],byte[]> getStartAndStopRow()
protected org.apache.hadoop.hbase.util.Pair<byte[],byte[]> generateStartAndStopRows(int maxRange)
protected int getReportingPeriod()
getReportingPeriod
in class PerformanceEvaluation.Test
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.