Package org.apache.hadoop.hbase
Class PerformanceEvaluation.TestOptions
java.lang.Object
org.apache.hadoop.hbase.PerformanceEvaluation.TestOptions
- Enclosing class:
- PerformanceEvaluation
Wraps up options passed to
PerformanceEvaluation
. This makes
tracking all these arguments a little easier. NOTE: ADDING AN OPTION, you need to add a data
member, a getter/setter (to make JSON serialization of this TestOptions class behave), and you
need to add to the clone constructor below copying your new option from the 'that' to the
'this'. Look for 'clone' below.-
Field Summary
Modifier and TypeFieldDescription(package private) boolean
(package private) boolean
(package private) boolean
(package private) DataBlockEncoding
(package private) int
(package private) BloomType
(package private) long
(package private) boolean
(package private) int
(package private) String
(package private) int
(package private) Properties
(package private) Compression.Algorithm
(package private) int
(package private) int
(package private) String
(package private) int
(package private) boolean
(package private) boolean
(package private) boolean
(package private) MemoryCompactionPolicy
(package private) int
(package private) int
(package private) int
(package private) int
(package private) boolean
(package private) int
(package private) int
(package private) boolean
(package private) int
(package private) int
(package private) int
(package private) int
(package private) int
(package private) boolean
(package private) float
(package private) Scan.ReadType
(package private) float
(package private) String
(package private) int
(package private) String
(package private) int
(package private) double
Deprecated.Useless after switching to OpenTelemetry(package private) boolean
(package private) boolean
(package private) int
(package private) boolean
(package private) boolean
-
Constructor Summary
ConstructorDescriptionClone constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
long
int
int
int
int
int
int
int
int
int
int
int
int
int
int
int
float
float
getSize()
int
int
double
int
boolean
boolean
boolean
boolean
boolean
boolean
isOneCon()
boolean
boolean
boolean
boolean
boolean
void
setAddColumns
(boolean addColumns) void
setAutoFlush
(boolean autoFlush) void
setBlockEncoding
(DataBlockEncoding blockEncoding) void
setBlockSize
(int blockSize) void
setBloomType
(BloomType bloomType) void
setBufferSize
(long bufferSize) void
setCaching
(int caching) void
setCmdName
(String cmdName) void
setColumns
(int columns) void
setCompression
(Compression.Algorithm compression) void
setConnCount
(int connCount) void
setCycles
(int cycles) void
setEncryption
(String encryption) void
setFamilies
(int families) void
setFilterAll
(boolean filterAll) void
setFlushCommits
(boolean flushCommits) void
setInMemoryCF
(boolean inMemoryCF) void
setInMemoryCompaction
(MemoryCompactionPolicy inMemoryCompaction) void
setMeasureAfter
(int measureAfter) void
setMultiGet
(int multiGet) void
setMultiPut
(int multiPut) void
setNomapred
(boolean nomapred) void
setNoOfTags
(int noOfTags) void
setNumClientThreads
(int numClientThreads) void
setOneCon
(boolean oneCon) void
setPerClientRunRows
(int perClientRunRows) void
setPeriod
(int period) void
setPresplitRegions
(int presplitRegions) void
setRandomSleep
(int randomSleep) void
setReplicas
(int replicas) void
setReportLatency
(boolean reportLatency) void
setSampleRate
(float sampleRate) void
setSize
(float size) void
setSplitPolicy
(String splitPolicy) void
setStartRow
(int startRow) void
setTableName
(String tableName) void
setTotalRows
(int totalRows) void
setTraceRate
(double traceRate) void
setUseTags
(boolean useTags) void
setValueRandom
(boolean valueRandom) void
setValueSize
(int valueSize) void
setValueZipf
(boolean valueZipf) void
setWriteToWAL
(boolean writeToWAL)
-
Field Details
-
cmdName
-
nomapred
boolean nomapred -
filterAll
boolean filterAll -
startRow
int startRow -
size
float size -
perClientRunRows
int perClientRunRows -
numClientThreads
int numClientThreads -
totalRows
int totalRows -
measureAfter
int measureAfter -
sampleRate
float sampleRate -
traceRate
Deprecated.Useless after switching to OpenTelemetry -
tableName
-
flushCommits
boolean flushCommits -
writeToWAL
boolean writeToWAL -
autoFlush
boolean autoFlush -
oneCon
boolean oneCon -
connCount
int connCount -
useTags
boolean useTags -
noOfTags
int noOfTags -
reportLatency
boolean reportLatency -
multiGet
int multiGet -
multiPut
int multiPut -
randomSleep
int randomSleep -
inMemoryCF
boolean inMemoryCF -
presplitRegions
int presplitRegions -
replicas
int replicas -
splitPolicy
-
compression
-
encryption
-
bloomType
-
blockSize
int blockSize -
blockEncoding
-
valueRandom
boolean valueRandom -
valueZipf
boolean valueZipf -
valueSize
int valueSize -
period
int period -
cycles
int cycles -
columns
int columns -
families
int families -
caching
int caching -
latencyThreshold
int latencyThreshold -
addColumns
boolean addColumns -
inMemoryCompaction
-
asyncPrefetch
boolean asyncPrefetch -
cacheBlocks
boolean cacheBlocks -
scanReadType
-
bufferSize
long bufferSize -
commandProperties
-
-
Constructor Details
-
TestOptions
public TestOptions() -
TestOptions
Clone constructor.- Parameters:
that
- Object to copy from.
-
-
Method Details
-
getCommandProperties
-
getCaching
-
setCaching
-
getColumns
-
setColumns
-
getFamilies
-
setFamilies
-
getCycles
-
setCycles
-
isValueZipf
-
setValueZipf
-
getCmdName
-
setCmdName
-
getRandomSleep
-
setRandomSleep
-
getReplicas
-
setReplicas
-
getSplitPolicy
-
setSplitPolicy
-
setNomapred
-
setFilterAll
-
setStartRow
-
setSize
-
setPerClientRunRows
-
setNumClientThreads
-
setTotalRows
-
setSampleRate
-
setTraceRate
-
setTableName
-
setFlushCommits
-
setWriteToWAL
-
setAutoFlush
-
setOneCon
-
getConnCount
-
setConnCount
-
setUseTags
-
setNoOfTags
-
setReportLatency
-
setMultiGet
-
setMultiPut
-
setInMemoryCF
-
setPresplitRegions
-
setCompression
-
setEncryption
-
setBloomType
-
setBlockSize
-
setBlockEncoding
-
setValueRandom
-
setValueSize
-
setBufferSize
-
setPeriod
-
isNomapred
-
isFilterAll
-
getStartRow
-
getSize
-
getPerClientRunRows
-
getNumClientThreads
-
getTotalRows
-
getSampleRate
-
getTraceRate
-
getTableName
-
isFlushCommits
-
isWriteToWAL
-
isAutoFlush
-
isUseTags
-
getNoOfTags
-
isReportLatency
-
getMultiGet
-
getMultiPut
-
isInMemoryCF
-
getPresplitRegions
-
getCompression
-
getEncryption
-
getBlockEncoding
-
isValueRandom
-
getValueSize
-
getPeriod
-
getBloomType
-
getBlockSize
-
isOneCon
-
getMeasureAfter
-
setMeasureAfter
-
getAddColumns
-
setAddColumns
-
setInMemoryCompaction
-
getInMemoryCompaction
-
getBufferSize
-