Class LockComponentInfo
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.dlc.v20210125.models.LockComponentInfo
-
public class LockComponentInfo extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description LockComponentInfo()LockComponentInfo(LockComponentInfo 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 StringgetDataOperationType()Get 锁操作:SELECT,INSERT,UPDATE,DELETE,UNSET,NO_TXNStringgetDbName()Get 数据库名称BooleangetIsAcid()Get 是否保持AcidBooleangetIsDynamicPartitionWrite()Get 是否动态分区写StringgetLockLevel()Get 锁级别:DB、TABLE、PARTITIONStringgetLockType()Get 锁类型:SHARED_READ、SHARED_WRITE、EXCLUSIVEStringgetPartition()Get 分区StringgetTableName()Get 表名称voidsetDataOperationType(String DataOperationType)Set 锁操作:SELECT,INSERT,UPDATE,DELETE,UNSET,NO_TXNvoidsetDbName(String DbName)Set 数据库名称voidsetIsAcid(Boolean IsAcid)Set 是否保持AcidvoidsetIsDynamicPartitionWrite(Boolean IsDynamicPartitionWrite)Set 是否动态分区写voidsetLockLevel(String LockLevel)Set 锁级别:DB、TABLE、PARTITIONvoidsetLockType(String LockType)Set 锁类型:SHARED_READ、SHARED_WRITE、EXCLUSIVEvoidsetPartition(String Partition)Set 分区voidsetTableName(String TableName)Set 表名称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
-
LockComponentInfo
public LockComponentInfo()
-
LockComponentInfo
public LockComponentInfo(LockComponentInfo 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
-
getDbName
public String getDbName()
Get 数据库名称- Returns:
- DbName 数据库名称
-
setDbName
public void setDbName(String DbName)
Set 数据库名称- Parameters:
DbName- 数据库名称
-
getTableName
public String getTableName()
Get 表名称- Returns:
- TableName 表名称
-
setTableName
public void setTableName(String TableName)
Set 表名称- Parameters:
TableName- 表名称
-
getPartition
public String getPartition()
Get 分区- Returns:
- Partition 分区
-
setPartition
public void setPartition(String Partition)
Set 分区- Parameters:
Partition- 分区
-
getLockType
public String getLockType()
Get 锁类型:SHARED_READ、SHARED_WRITE、EXCLUSIVE- Returns:
- LockType 锁类型:SHARED_READ、SHARED_WRITE、EXCLUSIVE
-
setLockType
public void setLockType(String LockType)
Set 锁类型:SHARED_READ、SHARED_WRITE、EXCLUSIVE- Parameters:
LockType- 锁类型:SHARED_READ、SHARED_WRITE、EXCLUSIVE
-
getLockLevel
public String getLockLevel()
Get 锁级别:DB、TABLE、PARTITION- Returns:
- LockLevel 锁级别:DB、TABLE、PARTITION
-
setLockLevel
public void setLockLevel(String LockLevel)
Set 锁级别:DB、TABLE、PARTITION- Parameters:
LockLevel- 锁级别:DB、TABLE、PARTITION
-
getDataOperationType
public String getDataOperationType()
Get 锁操作:SELECT,INSERT,UPDATE,DELETE,UNSET,NO_TXN- Returns:
- DataOperationType 锁操作:SELECT,INSERT,UPDATE,DELETE,UNSET,NO_TXN
-
setDataOperationType
public void setDataOperationType(String DataOperationType)
Set 锁操作:SELECT,INSERT,UPDATE,DELETE,UNSET,NO_TXN- Parameters:
DataOperationType- 锁操作:SELECT,INSERT,UPDATE,DELETE,UNSET,NO_TXN
-
getIsAcid
public Boolean getIsAcid()
Get 是否保持Acid- Returns:
- IsAcid 是否保持Acid
-
setIsAcid
public void setIsAcid(Boolean IsAcid)
Set 是否保持Acid- Parameters:
IsAcid- 是否保持Acid
-
getIsDynamicPartitionWrite
public Boolean getIsDynamicPartitionWrite()
Get 是否动态分区写- Returns:
- IsDynamicPartitionWrite 是否动态分区写
-
setIsDynamicPartitionWrite
public void setIsDynamicPartitionWrite(Boolean IsDynamicPartitionWrite)
Set 是否动态分区写- Parameters:
IsDynamicPartitionWrite- 是否动态分区写
-
-