Class RedisKeySpaceData
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.dbbrain.v20210527.models.RedisKeySpaceData
-
public class RedisKeySpaceData extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description RedisKeySpaceData()RedisKeySpaceData(RedisKeySpaceData 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 LonggetAveElementSize()Get 平均元素长度。StringgetEncoding()Get key编码方式。LonggetExpireTime()Get key过期时间戳(毫秒),0代表未设置过期时间。LonggetItemCount()Get 元素个数。StringgetKey()Get key名。LonggetLength()Get key内存大小,单位Byte。LonggetMaxElementSize()Get 最大元素长度。StringgetShardId()Get 所属分片序号。StringgetType()Get key类型。voidsetAveElementSize(Long AveElementSize)Set 平均元素长度。voidsetEncoding(String Encoding)Set key编码方式。voidsetExpireTime(Long ExpireTime)Set key过期时间戳(毫秒),0代表未设置过期时间。voidsetItemCount(Long ItemCount)Set 元素个数。voidsetKey(String Key)Set key名。voidsetLength(Long Length)Set key内存大小,单位Byte。voidsetMaxElementSize(Long MaxElementSize)Set 最大元素长度。voidsetShardId(String ShardId)Set 所属分片序号。voidsetType(String Type)Set key类型。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
-
RedisKeySpaceData
public RedisKeySpaceData()
-
RedisKeySpaceData
public RedisKeySpaceData(RedisKeySpaceData 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
-
getKey
public String getKey()
Get key名。- Returns:
- Key key名。
-
setKey
public void setKey(String Key)
Set key名。- Parameters:
Key- key名。
-
getType
public String getType()
Get key类型。- Returns:
- Type key类型。
-
setType
public void setType(String Type)
Set key类型。- Parameters:
Type- key类型。
-
getEncoding
public String getEncoding()
Get key编码方式。- Returns:
- Encoding key编码方式。
-
setEncoding
public void setEncoding(String Encoding)
Set key编码方式。- Parameters:
Encoding- key编码方式。
-
getExpireTime
public Long getExpireTime()
Get key过期时间戳(毫秒),0代表未设置过期时间。- Returns:
- ExpireTime key过期时间戳(毫秒),0代表未设置过期时间。
-
setExpireTime
public void setExpireTime(Long ExpireTime)
Set key过期时间戳(毫秒),0代表未设置过期时间。- Parameters:
ExpireTime- key过期时间戳(毫秒),0代表未设置过期时间。
-
getLength
public Long getLength()
Get key内存大小,单位Byte。- Returns:
- Length key内存大小,单位Byte。
-
setLength
public void setLength(Long Length)
Set key内存大小,单位Byte。- Parameters:
Length- key内存大小,单位Byte。
-
getItemCount
public Long getItemCount()
Get 元素个数。- Returns:
- ItemCount 元素个数。
-
setItemCount
public void setItemCount(Long ItemCount)
Set 元素个数。- Parameters:
ItemCount- 元素个数。
-
getMaxElementSize
public Long getMaxElementSize()
Get 最大元素长度。- Returns:
- MaxElementSize 最大元素长度。
-
setMaxElementSize
public void setMaxElementSize(Long MaxElementSize)
Set 最大元素长度。- Parameters:
MaxElementSize- 最大元素长度。
-
getAveElementSize
public Long getAveElementSize()
Get 平均元素长度。- Returns:
- AveElementSize 平均元素长度。
-
setAveElementSize
public void setAveElementSize(Long AveElementSize)
Set 平均元素长度。- Parameters:
AveElementSize- 平均元素长度。
-
getShardId
public String getShardId()
Get 所属分片序号。- Returns:
- ShardId 所属分片序号。
-
setShardId
public void setShardId(String ShardId)
Set 所属分片序号。- Parameters:
ShardId- 所属分片序号。
-
-