Package org.apache.hadoop.hbase
Class PerformanceEvaluation.ScanTest
java.lang.Object
org.apache.hadoop.hbase.PerformanceEvaluation.TestBase
org.apache.hadoop.hbase.PerformanceEvaluation.Test
org.apache.hadoop.hbase.PerformanceEvaluation.TableTest
org.apache.hadoop.hbase.PerformanceEvaluation.ScanTest
- Enclosing class:
- PerformanceEvaluation
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate org.apache.hadoop.hbase.client.ResultScannerFields inherited from class org.apache.hadoop.hbase.PerformanceEvaluation.TableTest
tableFields inherited from class org.apache.hadoop.hbase.PerformanceEvaluation.Test
connectionFields inherited from class org.apache.hadoop.hbase.PerformanceEvaluation.TestBase
conf, opts, rand -
Constructor Summary
ConstructorsConstructorDescriptionScanTest(org.apache.hadoop.hbase.client.Connection con, PerformanceEvaluation.TestOptions options, PerformanceEvaluation.Status status) -
Method Summary
Modifier and TypeMethodDescription(package private) booleantestRow(int i, long startTime) Test for individual row.(package private) voidMethods inherited from class org.apache.hadoop.hbase.PerformanceEvaluation.TableTest
onStartup, onTakedownMethods inherited from class org.apache.hadoop.hbase.PerformanceEvaluation.TestBase
generateStatus, getLastRow, getLatencyHistogram, getReportingPeriod, getShortLatencyReport, getShortValueSizeReport, getStartRow, getValueLength, isRandomValueSize, test, testSetup, testTimed, updateScanMetrics, updateValueSize, updateValueSize, updateValueSize, updateValueSize, updateValueSize
-
Field Details
-
testScanner
-
-
Constructor Details
-
ScanTest
ScanTest(org.apache.hadoop.hbase.client.Connection con, PerformanceEvaluation.TestOptions options, PerformanceEvaluation.Status status)
-
-
Method Details
-
testTakedown
- Overrides:
testTakedownin classPerformanceEvaluation.TestBase- Throws:
IOException
-
testRow
Description copied from class:PerformanceEvaluation.TestBaseTest for individual row.- Specified by:
testRowin classPerformanceEvaluation.TestBase- Parameters:
i- Row index.- Returns:
- true if the row was sent to server and need to record metrics. False if not, multiGet and multiPut e.g., the rows are sent to server only if enough gets/puts are gathered.
- Throws:
IOException
-