Package org.apache.hadoop.hbase.rest
Class PerformanceEvaluation.RandomScanWithRangeTest
java.lang.Object
org.apache.hadoop.hbase.rest.PerformanceEvaluation.Test
org.apache.hadoop.hbase.rest.PerformanceEvaluation.TableTest
org.apache.hadoop.hbase.rest.PerformanceEvaluation.RandomScanWithRangeTest
- Direct Known Subclasses:
PerformanceEvaluation.RandomScanWithRange10000Test
,PerformanceEvaluation.RandomScanWithRange1000Test
,PerformanceEvaluation.RandomScanWithRange100Test
,PerformanceEvaluation.RandomScanWithRange10Test
- Enclosing class:
- PerformanceEvaluation
abstract static class PerformanceEvaluation.RandomScanWithRangeTest
extends PerformanceEvaluation.TableTest
-
Field Summary
Fields inherited from class org.apache.hadoop.hbase.rest.PerformanceEvaluation.TableTest
table
Fields inherited from class org.apache.hadoop.hbase.rest.PerformanceEvaluation.Test
conf, connection, noOfTags, perClientRunRows, rand, startRow, tableName, totalRows, useTags, writeToWAL
-
Constructor Summary
ConstructorDescriptionRandomScanWithRangeTest
(org.apache.hadoop.conf.Configuration conf, PerformanceEvaluation.TestOptions options, PerformanceEvaluation.Status status) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.hadoop.hbase.util.Pair<byte[],
byte[]> generateStartAndStopRows
(int maxRange) protected int
protected abstract org.apache.hadoop.hbase.util.Pair<byte[],
byte[]> (package private) void
testRow
(int i) Test for individual row.Methods inherited from class org.apache.hadoop.hbase.rest.PerformanceEvaluation.TableTest
testSetup, testTakedown
Methods inherited from class org.apache.hadoop.hbase.rest.PerformanceEvaluation.Test
generateStatus, test, testTimed
-
Constructor Details
-
RandomScanWithRangeTest
RandomScanWithRangeTest(org.apache.hadoop.conf.Configuration conf, PerformanceEvaluation.TestOptions options, PerformanceEvaluation.Status status)
-
-
Method Details
-
testRow
Description copied from class:PerformanceEvaluation.Test
Test for individual row.- Specified by:
testRow
in classPerformanceEvaluation.Test
- Parameters:
i
- Row index.- Throws:
IOException
-
getStartAndStopRow
-
generateStartAndStopRows
-
getReportingPeriod
- Overrides:
getReportingPeriod
in classPerformanceEvaluation.Test
-