Class AggregationCondition
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.cdb.v20170320.models.AggregationCondition
-
public class AggregationCondition extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description AggregationCondition()AggregationCondition(AggregationCondition 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 StringgetAggregationField()Get 聚合字段。目前仅支持host-源IP、user-用户名、dbName-数据库名、sqlType-sql类型。LonggetLimit()Get 该聚合字段下要返回聚合桶的数量,最大100。LonggetOffset()Get 偏移量。voidsetAggregationField(String AggregationField)Set 聚合字段。目前仅支持host-源IP、user-用户名、dbName-数据库名、sqlType-sql类型。voidsetLimit(Long Limit)Set 该聚合字段下要返回聚合桶的数量,最大100。voidsetOffset(Long Offset)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
-
AggregationCondition
public AggregationCondition()
-
AggregationCondition
public AggregationCondition(AggregationCondition 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
-
getAggregationField
public String getAggregationField()
Get 聚合字段。目前仅支持host-源IP、user-用户名、dbName-数据库名、sqlType-sql类型。- Returns:
- AggregationField 聚合字段。目前仅支持host-源IP、user-用户名、dbName-数据库名、sqlType-sql类型。
-
setAggregationField
public void setAggregationField(String AggregationField)
Set 聚合字段。目前仅支持host-源IP、user-用户名、dbName-数据库名、sqlType-sql类型。- Parameters:
AggregationField- 聚合字段。目前仅支持host-源IP、user-用户名、dbName-数据库名、sqlType-sql类型。
-
getOffset
public Long getOffset()
Get 偏移量。- Returns:
- Offset 偏移量。
-
setOffset
public void setOffset(Long Offset)
Set 偏移量。- Parameters:
Offset- 偏移量。
-
getLimit
public Long getLimit()
Get 该聚合字段下要返回聚合桶的数量,最大100。- Returns:
- Limit 该聚合字段下要返回聚合桶的数量,最大100。
-
setLimit
public void setLimit(Long Limit)
Set 该聚合字段下要返回聚合桶的数量,最大100。- Parameters:
Limit- 该聚合字段下要返回聚合桶的数量,最大100。
-
-