Class RedisPreKeySpaceData
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.dbbrain.v20210527.models.RedisPreKeySpaceData
-
public class RedisPreKeySpaceData extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description RedisPreKeySpaceData()RedisPreKeySpaceData(RedisPreKeySpaceData 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 平均元素长度。LonggetCount()Get key个数。LonggetItemCount()Get 元素数量。StringgetKeyPreIndex()Get key前缀。LonggetLength()Get 总占用内存(Byte)。LonggetMaxElementSize()Get 最大元素长度。voidsetAveElementSize(Long AveElementSize)Set 平均元素长度。voidsetCount(Long Count)Set key个数。voidsetItemCount(Long ItemCount)Set 元素数量。voidsetKeyPreIndex(String KeyPreIndex)Set key前缀。voidsetLength(Long Length)Set 总占用内存(Byte)。voidsetMaxElementSize(Long MaxElementSize)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
-
RedisPreKeySpaceData
public RedisPreKeySpaceData()
-
RedisPreKeySpaceData
public RedisPreKeySpaceData(RedisPreKeySpaceData 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
-
getAveElementSize
public Long getAveElementSize()
Get 平均元素长度。- Returns:
- AveElementSize 平均元素长度。
-
setAveElementSize
public void setAveElementSize(Long AveElementSize)
Set 平均元素长度。- Parameters:
AveElementSize- 平均元素长度。
-
getLength
public Long getLength()
Get 总占用内存(Byte)。- Returns:
- Length 总占用内存(Byte)。
-
setLength
public void setLength(Long Length)
Set 总占用内存(Byte)。- Parameters:
Length- 总占用内存(Byte)。
-
getKeyPreIndex
public String getKeyPreIndex()
Get key前缀。- Returns:
- KeyPreIndex key前缀。
-
setKeyPreIndex
public void setKeyPreIndex(String KeyPreIndex)
Set key前缀。- Parameters:
KeyPreIndex- key前缀。
-
getItemCount
public Long getItemCount()
Get 元素数量。- Returns:
- ItemCount 元素数量。
-
setItemCount
public void setItemCount(Long ItemCount)
Set 元素数量。- Parameters:
ItemCount- 元素数量。
-
getCount
public Long getCount()
Get key个数。- Returns:
- Count key个数。
-
setCount
public void setCount(Long Count)
Set key个数。- Parameters:
Count- key个数。
-
getMaxElementSize
public Long getMaxElementSize()
Get 最大元素长度。- Returns:
- MaxElementSize 最大元素长度。
-
setMaxElementSize
public void setMaxElementSize(Long MaxElementSize)
Set 最大元素长度。- Parameters:
MaxElementSize- 最大元素长度。
-
-