Package com.datadog.api.client.v2.model
Class LogsGroupBy
java.lang.Object
com.datadog.api.client.v2.model.LogsGroupBy
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class LogsGroupBy
extends Object
A group by rule
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this LogsGroupBy object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getFacet()The name of the facet to use (required)Used to perform a histogram computation (only for measure facets).getLimit()The maximum buckets to return for this group by.The value to use for logs that don't have the facet used to group bygetSort()A sort rulegetTotal()A resulting object to put the given computes in over all the matching records.inthashCode()histogram(LogsGroupByHistogram histogram) missing(LogsGroupByMissing missing) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidsetHistogram(LogsGroupByHistogram histogram) voidvoidsetMissing(LogsGroupByMissing missing) voidsetSort(LogsAggregateSort sort) voidsetTotal(LogsGroupByTotal total) sort(LogsAggregateSort sort) toString()total(LogsGroupByTotal total)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_FACET
- See Also:
-
JSON_PROPERTY_HISTOGRAM
- See Also:
-
JSON_PROPERTY_LIMIT
- See Also:
-
JSON_PROPERTY_MISSING
- See Also:
-
JSON_PROPERTY_SORT
- See Also:
-
JSON_PROPERTY_TOTAL
- See Also:
-
-
Constructor Details
-
LogsGroupBy
public LogsGroupBy() -
LogsGroupBy
-
-
Method Details
-
facet
-
getFacet
The name of the facet to use (required)- Returns:
- facet
-
setFacet
-
histogram
-
getHistogram
Used to perform a histogram computation (only for measure facets). Note: at most 100 buckets are allowed, the number of buckets is (max - min)/interval.- Returns:
- histogram
-
setHistogram
-
limit
-
getLimit
The maximum buckets to return for this group by. Note: at most 10000 buckets are allowed. If grouping by multiple facets, the product of limits must not exceed 10000.- Returns:
- limit
-
setLimit
-
missing
-
getMissing
The value to use for logs that don't have the facet used to group by- Returns:
- missing
-
setMissing
-
sort
-
getSort
A sort rule- Returns:
- sort
-
setSort
-
total
-
getTotal
A resulting object to put the given computes in over all the matching records.- Returns:
- total
-
setTotal
-
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:
- LogsGroupBy
-
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 LogsGroupBy object is equal to o. -
hashCode
public int hashCode() -
toString
-