static class PerformanceEvaluation.TestOptions extends Object
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.Modifier and Type | Field and Description |
---|---|
(package private) boolean |
addColumns |
(package private) boolean |
asyncPrefetch |
(package private) boolean |
autoFlush |
(package private) org.apache.hadoop.hbase.io.encoding.DataBlockEncoding |
blockEncoding |
(package private) int |
blockSize |
(package private) org.apache.hadoop.hbase.regionserver.BloomType |
bloomType |
(package private) long |
bufferSize |
(package private) boolean |
cacheBlocks |
(package private) int |
caching |
(package private) String |
cmdName |
(package private) int |
columns |
(package private) org.apache.hadoop.hbase.io.compress.Compression.Algorithm |
compression |
(package private) int |
connCount |
(package private) int |
cycles |
(package private) String |
encryption |
(package private) int |
families |
(package private) boolean |
filterAll |
(package private) boolean |
flushCommits |
(package private) boolean |
inMemoryCF |
(package private) org.apache.hadoop.hbase.MemoryCompactionPolicy |
inMemoryCompaction |
(package private) int |
latencyThreshold |
(package private) int |
measureAfter |
(package private) int |
multiGet |
(package private) int |
multiPut |
(package private) boolean |
nomapred |
(package private) int |
noOfTags |
(package private) int |
numClientThreads |
(package private) boolean |
oneCon |
(package private) int |
perClientRunRows |
(package private) int |
period |
(package private) int |
presplitRegions |
(package private) int |
randomSleep |
(package private) int |
replicas |
(package private) boolean |
reportLatency |
(package private) float |
sampleRate |
(package private) org.apache.hadoop.hbase.client.Scan.ReadType |
scanReadType |
(package private) float |
size |
(package private) String |
splitPolicy |
(package private) int |
startRow |
(package private) String |
tableName |
(package private) int |
totalRows |
(package private) double |
traceRate
Deprecated.
Useless after switching to OpenTelemetry
|
(package private) boolean |
useTags |
(package private) boolean |
valueRandom |
(package private) int |
valueSize |
(package private) boolean |
valueZipf |
(package private) boolean |
writeToWAL |
Constructor and Description |
---|
TestOptions() |
TestOptions(PerformanceEvaluation.TestOptions that)
Clone constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getAddColumns() |
org.apache.hadoop.hbase.io.encoding.DataBlockEncoding |
getBlockEncoding() |
int |
getBlockSize() |
org.apache.hadoop.hbase.regionserver.BloomType |
getBloomType() |
long |
getBufferSize() |
int |
getCaching() |
String |
getCmdName() |
int |
getColumns() |
org.apache.hadoop.hbase.io.compress.Compression.Algorithm |
getCompression() |
int |
getConnCount() |
int |
getCycles() |
String |
getEncryption() |
int |
getFamilies() |
org.apache.hadoop.hbase.MemoryCompactionPolicy |
getInMemoryCompaction() |
int |
getMeasureAfter() |
int |
getMultiGet() |
int |
getMultiPut() |
int |
getNoOfTags() |
int |
getNumClientThreads() |
int |
getPerClientRunRows() |
int |
getPeriod() |
int |
getPresplitRegions() |
int |
getRandomSleep() |
int |
getReplicas() |
float |
getSampleRate() |
float |
getSize() |
String |
getSplitPolicy() |
int |
getStartRow() |
String |
getTableName() |
int |
getTotalRows() |
double |
getTraceRate() |
int |
getValueSize() |
boolean |
isAutoFlush() |
boolean |
isFilterAll() |
boolean |
isFlushCommits() |
boolean |
isInMemoryCF() |
boolean |
isNomapred() |
boolean |
isOneCon() |
boolean |
isReportLatency() |
boolean |
isUseTags() |
boolean |
isValueRandom() |
boolean |
isValueZipf() |
boolean |
isWriteToWAL() |
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) |
boolean nomapred
boolean filterAll
int startRow
float size
int perClientRunRows
int numClientThreads
int totalRows
int measureAfter
float sampleRate
@Deprecated double traceRate
boolean flushCommits
boolean writeToWAL
boolean autoFlush
boolean oneCon
int connCount
boolean useTags
int noOfTags
boolean reportLatency
int multiGet
int multiPut
int randomSleep
boolean inMemoryCF
int presplitRegions
int replicas
String splitPolicy
org.apache.hadoop.hbase.io.compress.Compression.Algorithm compression
String encryption
org.apache.hadoop.hbase.regionserver.BloomType bloomType
int blockSize
org.apache.hadoop.hbase.io.encoding.DataBlockEncoding blockEncoding
boolean valueRandom
boolean valueZipf
int valueSize
int period
int cycles
int columns
int families
int caching
int latencyThreshold
boolean addColumns
org.apache.hadoop.hbase.MemoryCompactionPolicy inMemoryCompaction
boolean asyncPrefetch
boolean cacheBlocks
org.apache.hadoop.hbase.client.Scan.ReadType scanReadType
long bufferSize
public TestOptions()
public TestOptions(PerformanceEvaluation.TestOptions that)
that
- Object to copy from.public int getCaching()
public void setCaching(int caching)
public int getColumns()
public void setColumns(int columns)
public int getFamilies()
public void setFamilies(int families)
public int getCycles()
public void setCycles(int cycles)
public boolean isValueZipf()
public void setValueZipf(boolean valueZipf)
public String getCmdName()
public void setCmdName(String cmdName)
public int getRandomSleep()
public void setRandomSleep(int randomSleep)
public int getReplicas()
public void setReplicas(int replicas)
public String getSplitPolicy()
public void setSplitPolicy(String splitPolicy)
public void setNomapred(boolean nomapred)
public void setFilterAll(boolean filterAll)
public void setStartRow(int startRow)
public void setSize(float size)
public void setPerClientRunRows(int perClientRunRows)
public void setNumClientThreads(int numClientThreads)
public void setTotalRows(int totalRows)
public void setSampleRate(float sampleRate)
public void setTraceRate(double traceRate)
public void setTableName(String tableName)
public void setFlushCommits(boolean flushCommits)
public void setWriteToWAL(boolean writeToWAL)
public void setAutoFlush(boolean autoFlush)
public void setOneCon(boolean oneCon)
public int getConnCount()
public void setConnCount(int connCount)
public void setUseTags(boolean useTags)
public void setNoOfTags(int noOfTags)
public void setReportLatency(boolean reportLatency)
public void setMultiGet(int multiGet)
public void setMultiPut(int multiPut)
public void setInMemoryCF(boolean inMemoryCF)
public void setPresplitRegions(int presplitRegions)
public void setCompression(org.apache.hadoop.hbase.io.compress.Compression.Algorithm compression)
public void setEncryption(String encryption)
public void setBloomType(org.apache.hadoop.hbase.regionserver.BloomType bloomType)
public void setBlockSize(int blockSize)
public void setBlockEncoding(org.apache.hadoop.hbase.io.encoding.DataBlockEncoding blockEncoding)
public void setValueRandom(boolean valueRandom)
public void setValueSize(int valueSize)
public void setBufferSize(long bufferSize)
public void setPeriod(int period)
public boolean isNomapred()
public boolean isFilterAll()
public int getStartRow()
public float getSize()
public int getPerClientRunRows()
public int getNumClientThreads()
public int getTotalRows()
public float getSampleRate()
public double getTraceRate()
public String getTableName()
public boolean isFlushCommits()
public boolean isWriteToWAL()
public boolean isAutoFlush()
public boolean isUseTags()
public int getNoOfTags()
public boolean isReportLatency()
public int getMultiGet()
public int getMultiPut()
public boolean isInMemoryCF()
public int getPresplitRegions()
public org.apache.hadoop.hbase.io.compress.Compression.Algorithm getCompression()
public String getEncryption()
public org.apache.hadoop.hbase.io.encoding.DataBlockEncoding getBlockEncoding()
public boolean isValueRandom()
public int getValueSize()
public int getPeriod()
public org.apache.hadoop.hbase.regionserver.BloomType getBloomType()
public int getBlockSize()
public boolean isOneCon()
public int getMeasureAfter()
public void setMeasureAfter(int measureAfter)
public boolean getAddColumns()
public void setAddColumns(boolean addColumns)
public void setInMemoryCompaction(org.apache.hadoop.hbase.MemoryCompactionPolicy inMemoryCompaction)
public org.apache.hadoop.hbase.MemoryCompactionPolicy getInMemoryCompaction()
public long getBufferSize()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.