Package com.datadog.api.client.v2.model
Class ProductAnalyticsRetentionGridQuery
java.lang.Object
com.datadog.api.client.v2.model.ProductAnalyticsRetentionGridQuery
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ProductAnalyticsRetentionGridQuery
extends Object
Query definition for a retention grid or retention metadata request.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionProductAnalyticsRetentionGridQuery(ProductAnalyticsRetentionCompute compute, ProductAnalyticsRetentionSearch search) -
Method Summary
Modifier and TypeMethodDescriptionaddGroupByItem(ProductAnalyticsRetentionGroupBy groupByItem) computationScope(ProductAnalyticsRetentionScope computationScope) compute(ProductAnalyticsRetentionCompute compute) booleanReturn true if this ProductAnalyticsRetentionGridQuery object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Restricts a retention query to part of the grid, so that results can be examined in detail.The metric and aggregation applied to a retention query.Splits the results by the values of one or more facets.Defines the cohort and return criteria that make up a retention query.groupBy(List<ProductAnalyticsRetentionGroupBy> groupBy) inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetComputationScope(ProductAnalyticsRetentionScope computationScope) voidvoidsetGroupBy(List<ProductAnalyticsRetentionGroupBy> groupBy) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_COMPUTATION_SCOPE
- See Also:
-
JSON_PROPERTY_COMPUTE
- See Also:
-
JSON_PROPERTY_GROUP_BY
- See Also:
-
JSON_PROPERTY_SEARCH
- See Also:
-
-
Constructor Details
-
ProductAnalyticsRetentionGridQuery
public ProductAnalyticsRetentionGridQuery() -
ProductAnalyticsRetentionGridQuery
public ProductAnalyticsRetentionGridQuery(ProductAnalyticsRetentionCompute compute, ProductAnalyticsRetentionSearch search)
-
-
Method Details
-
computationScope
public ProductAnalyticsRetentionGridQuery computationScope(ProductAnalyticsRetentionScope computationScope) -
getComputationScope
Restricts a retention query to part of the grid, so that results can be examined in detail. Omit it to compute the whole grid.- Returns:
- computationScope
-
setComputationScope
-
compute
-
getCompute
The metric and aggregation applied to a retention query.- Returns:
- compute
-
setCompute
-
groupBy
-
addGroupByItem
public ProductAnalyticsRetentionGridQuery addGroupByItem(ProductAnalyticsRetentionGroupBy groupByItem) -
getGroupBy
Splits the results by the values of one or more facets.- Returns:
- groupBy
-
setGroupBy
-
search
-
getSearch
Defines the cohort and return criteria that make up a retention query.- Returns:
- search
-
setSearch
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- The arbitrary key to setvalue- The associated value- Returns:
- ProductAnalyticsRetentionGridQuery
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- The arbitrary key to get- Returns:
- The specific additional property for the given key
-
equals
Return true if this ProductAnalyticsRetentionGridQuery object is equal to o. -
hashCode
public int hashCode() -
toString
-