Class CompareOptions
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.dts.v20211206.models.CompareOptions
-
public class CompareOptions extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetMethod()Get 对比类型:dataCheck(完整数据对比)、sampleDataCheck(抽样数据对比)、rowsCount(行数对比) 注意:此字段可能返回 null,表示取不到有效值。LonggetSampleRate()Get 抽样比例;范围0,100 注意:此字段可能返回 null,表示取不到有效值。LonggetThreadCount()Get 线程数,取值1-5,默认为1 注意:此字段可能返回 null,表示取不到有效值。voidsetMethod(String Method)Set 对比类型:dataCheck(完整数据对比)、sampleDataCheck(抽样数据对比)、rowsCount(行数对比) 注意:此字段可能返回 null,表示取不到有效值。voidsetSampleRate(Long SampleRate)Set 抽样比例;范围0,100 注意:此字段可能返回 null,表示取不到有效值。voidsetThreadCount(Long ThreadCount)Set 线程数,取值1-5,默认为1 注意:此字段可能返回 null,表示取不到有效值。voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
CompareOptions
public CompareOptions()
-
CompareOptions
public 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.
-
-
Method Detail
-
getMethod
public String getMethod()
Get 对比类型:dataCheck(完整数据对比)、sampleDataCheck(抽样数据对比)、rowsCount(行数对比) 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Method 对比类型:dataCheck(完整数据对比)、sampleDataCheck(抽样数据对比)、rowsCount(行数对比) 注意:此字段可能返回 null,表示取不到有效值。
-
setMethod
public void setMethod(String Method)
Set 对比类型:dataCheck(完整数据对比)、sampleDataCheck(抽样数据对比)、rowsCount(行数对比) 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Method- 对比类型:dataCheck(完整数据对比)、sampleDataCheck(抽样数据对比)、rowsCount(行数对比) 注意:此字段可能返回 null,表示取不到有效值。
-
getSampleRate
public Long getSampleRate()
Get 抽样比例;范围0,100 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- SampleRate 抽样比例;范围0,100 注意:此字段可能返回 null,表示取不到有效值。
-
setSampleRate
public void setSampleRate(Long SampleRate)
Set 抽样比例;范围0,100 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
SampleRate- 抽样比例;范围0,100 注意:此字段可能返回 null,表示取不到有效值。
-
getThreadCount
public Long getThreadCount()
Get 线程数,取值1-5,默认为1 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- ThreadCount 线程数,取值1-5,默认为1 注意:此字段可能返回 null,表示取不到有效值。
-
setThreadCount
public void setThreadCount(Long ThreadCount)
Set 线程数,取值1-5,默认为1 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
ThreadCount- 线程数,取值1-5,默认为1 注意:此字段可能返回 null,表示取不到有效值。
-
-