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) org.apache.hadoop.hbase.io.encoding.DataBlockEncoding
(package private) int
(package private) org.apache.hadoop.hbase.regionserver.BloomType
(package private) long
(package private) boolean
(package private) int
(package private) String
(package private) int
(package private) org.apache.hadoop.hbase.io.compress.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) org.apache.hadoop.hbase.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) org.apache.hadoop.hbase.client.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
org.apache.hadoop.hbase.io.encoding.DataBlockEncoding
int
org.apache.hadoop.hbase.regionserver.BloomType
long
int
int
org.apache.hadoop.hbase.io.compress.Compression.Algorithm
int
int
int
org.apache.hadoop.hbase.MemoryCompactionPolicy
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
(org.apache.hadoop.hbase.io.encoding.DataBlockEncoding blockEncoding) void
setBlockSize
(int blockSize) void
setBloomType
(org.apache.hadoop.hbase.regionserver.BloomType bloomType) void
setBufferSize
(long bufferSize) void
setCaching
(int caching) void
setCmdName
(String cmdName) void
setColumns
(int columns) void
setCompression
(org.apache.hadoop.hbase.io.compress.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
(org.apache.hadoop.hbase.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
org.apache.hadoop.hbase.io.compress.Compression.Algorithm compression -
encryption
-
bloomType
org.apache.hadoop.hbase.regionserver.BloomType bloomType -
blockSize
int blockSize -
blockEncoding
org.apache.hadoop.hbase.io.encoding.DataBlockEncoding 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
org.apache.hadoop.hbase.MemoryCompactionPolicy inMemoryCompaction -
asyncPrefetch
boolean asyncPrefetch -
cacheBlocks
boolean cacheBlocks -
scanReadType
org.apache.hadoop.hbase.client.Scan.ReadType scanReadType -
bufferSize
long bufferSize
-
-
Constructor Details
-
TestOptions
public TestOptions() -
TestOptions
Clone constructor.- Parameters:
that
- Object to copy from.
-
-
Method Details
-
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
public void setInMemoryCompaction(org.apache.hadoop.hbase.MemoryCompactionPolicy inMemoryCompaction) -
getInMemoryCompaction
-
getBufferSize
-