abstract static class PerformanceEvaluation.RandomScanWithRangeTest extends PerformanceEvaluation.TableTest
table
connection
conf, opts, rand
Constructor and Description |
---|
RandomScanWithRangeTest(org.apache.hadoop.hbase.client.Connection con,
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) boolean |
testRow(int i,
long startTime)
Test for individual row.
|
onStartup, onTakedown
generateStatus, getLastRow, getLatencyHistogram, getShortLatencyReport, getShortValueSizeReport, getStartRow, getValueLength, isRandomValueSize, test, testSetup, testTakedown, testTimed, updateScanMetrics, updateValueSize, updateValueSize, updateValueSize, updateValueSize, updateValueSize
RandomScanWithRangeTest(org.apache.hadoop.hbase.client.Connection con, PerformanceEvaluation.TestOptions options, PerformanceEvaluation.Status status)
boolean testRow(int i, long startTime) throws IOException
PerformanceEvaluation.TestBase
testRow
in class PerformanceEvaluation.TestBase
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.TestBase
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.