Package com.datadog.api.client.v2.model
Class SpansGroupBy
java.lang.Object
com.datadog.api.client.v2.model.SpansGroupBy
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SpansGroupBy
extends Object
A group by rule.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this SpansGroupBy 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 spans that don't have the facet used to group by.getSort()A sort rule.getTotal()A resulting object to put the given computes in over all the matching records.inthashCode()histogram(SpansGroupByHistogram histogram) missing(SpansGroupByMissing missing) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidsetHistogram(SpansGroupByHistogram histogram) voidvoidsetMissing(SpansGroupByMissing missing) voidsetSort(SpansAggregateSort sort) voidsetTotal(SpansGroupByTotal total) sort(SpansAggregateSort sort) toString()total(SpansGroupByTotal 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
-
SpansGroupBy
public SpansGroupBy() -
SpansGroupBy
-
-
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.- Returns:
- limit
-
setLimit
-
missing
-
getMissing
The value to use for spans 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:
- SpansGroupBy
-
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 SpansGroupBy object is equal to o. -
hashCode
public int hashCode() -
toString
-