public class CompareOptions extends AbstractModel
header, skipSign
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 Comparative Method: dataCheck (Complete Data Comparison), sampleDataCheck (Sampling Data Comparison), rowsCount (Row Count Comparison)Note: This field may return null, indicating that no valid value can be obtained.
|
Long |
getSampleRate()
Get Sampling rate.
|
Long |
getThreadCount()
Get The number of threads, which defaults to 1.
|
void |
setMethod(String Method)
Set Comparative Method: dataCheck (Complete Data Comparison), sampleDataCheck (Sampling Data Comparison), rowsCount (Row Count Comparison)Note: This field may return null, indicating that no valid value 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, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public CompareOptions()
public CompareOptions(CompareOptions source)
public String getMethod()
public void setMethod(String Method)
Method
- Comparative Method: dataCheck (Complete Data Comparison), sampleDataCheck (Sampling Data Comparison), rowsCount (Row Count Comparison)Note: This field may return null, indicating that no valid value 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 © 2025. All rights reserved.