public class CompareOptions extends AbstractModel
Constructor and Description |
---|
CompareOptions() |
CompareOptions(CompareOptions source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getMethod()
Get Comparison type: (`dataCheck`: Full data comparison; `sampleDataCheck`: Sampling data comparison; `rowsCount`: Row count comparison)
Note: This field may return null, indicating that no valid values can be obtained.
|
Long |
getSampleRate()
Get Sampling rate.
|
Long |
getThreadCount()
Get The number of threads, which defaults to 1.
|
void |
setMethod(String Method)
Set Comparison type: (`dataCheck`: Full data comparison; `sampleDataCheck`: Sampling data comparison; `rowsCount`: Row count comparison)
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setSampleRate(Long SampleRate)
Set Sampling rate.
|
void |
setThreadCount(Long ThreadCount)
Set The number of threads, which defaults to 1.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public CompareOptions()
public CompareOptions(CompareOptions source)
public String getMethod()
public void setMethod(String Method)
Method
- Comparison type: (`dataCheck`: Full data comparison; `sampleDataCheck`: Sampling data comparison; `rowsCount`: Row count comparison)
Note: This field may return null, indicating that no valid values can be obtained.public Long getSampleRate()
public void setSampleRate(Long SampleRate)
SampleRate
- Sampling rate. Value range: 0-100%.
Note: This field may return null, indicating that no valid values can be obtained.public Long getThreadCount()
public void setThreadCount(Long ThreadCount)
ThreadCount
- The number of threads, which defaults to 1. Value range: 1-5.
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.