Package org.apache.hadoop.hbase
Class PerformanceEvaluation.CASTableTest
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.CASTableTest
- Direct Known Subclasses:
PerformanceEvaluation.AppendTest
,PerformanceEvaluation.CheckAndDeleteTest
,PerformanceEvaluation.CheckAndMutateTest
,PerformanceEvaluation.CheckAndPutTest
,PerformanceEvaluation.IncrementTest
- Enclosing class:
- PerformanceEvaluation
Base class for operations that are CAS-like; that read a value and then set it based off what
they read. In this category is increment, append, checkAndPut, etc.
These operations also want some concurrency going on. Usually when these tests run, they operate in their own part of the key range. In CASTest, we will have them all overlap on the same key space. We do this with our getStartRow and getLastRow overrides.
-
Field Summary
Fields inherited from class org.apache.hadoop.hbase.PerformanceEvaluation.TableTest
table
Fields inherited from class org.apache.hadoop.hbase.PerformanceEvaluation.Test
connection
Fields inherited from class org.apache.hadoop.hbase.PerformanceEvaluation.TestBase
conf, opts, rand
-
Constructor Summary
ConstructorDescriptionCASTableTest
(org.apache.hadoop.hbase.client.Connection con, PerformanceEvaluation.TestOptions options, PerformanceEvaluation.Status status) -
Method Summary
Modifier and TypeMethodDescription(package private) int
(package private) byte[]
(package private) int
Methods inherited from class org.apache.hadoop.hbase.PerformanceEvaluation.TableTest
onStartup, onTakedown
Methods inherited from class org.apache.hadoop.hbase.PerformanceEvaluation.TestBase
generateStatus, getLatencyHistogram, getReportingPeriod, getShortLatencyReport, getShortValueSizeReport, getValueLength, isRandomValueSize, test, testRow, testSetup, testTakedown, testTimed, updateScanMetrics, updateValueSize, updateValueSize, updateValueSize, updateValueSize, updateValueSize
-
Field Details
-
qualifier
-
-
Constructor Details
-
CASTableTest
CASTableTest(org.apache.hadoop.hbase.client.Connection con, PerformanceEvaluation.TestOptions options, PerformanceEvaluation.Status status)
-
-
Method Details
-
getQualifier
byte[] getQualifier() -
getStartRow
int getStartRow()- Overrides:
getStartRow
in classPerformanceEvaluation.TestBase
-
getLastRow
int getLastRow()- Overrides:
getLastRow
in classPerformanceEvaluation.TestBase
-