@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SpansGroupBy extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_FACET |
static String |
JSON_PROPERTY_HISTOGRAM |
static String |
JSON_PROPERTY_LIMIT |
static String |
JSON_PROPERTY_MISSING |
static String |
JSON_PROPERTY_SORT |
static String |
JSON_PROPERTY_TOTAL |
boolean |
unparsed |
| Constructor and Description |
|---|
SpansGroupBy() |
SpansGroupBy(String facet) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Return true if this SpansGroupBy object is equal to o.
|
SpansGroupBy |
facet(String facet) |
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
String |
getFacet()
The name of the facet to use (required).
|
SpansGroupByHistogram |
getHistogram()
Used to perform a histogram computation (only for measure facets).
|
Long |
getLimit()
The maximum buckets to return for this group by.
|
SpansGroupByMissing |
getMissing()
The value to use for spans that don't have the facet used to group by.
|
SpansAggregateSort |
getSort()
A sort rule.
|
SpansGroupByTotal |
getTotal()
A resulting object to put the given computes in over all the matching records.
|
int |
hashCode() |
SpansGroupBy |
histogram(SpansGroupByHistogram histogram) |
SpansGroupBy |
limit(Long limit) |
SpansGroupBy |
missing(SpansGroupByMissing missing) |
SpansGroupBy |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setFacet(String facet) |
void |
setHistogram(SpansGroupByHistogram histogram) |
void |
setLimit(Long limit) |
void |
setMissing(SpansGroupByMissing missing) |
void |
setSort(SpansAggregateSort sort) |
void |
setTotal(SpansGroupByTotal total) |
SpansGroupBy |
sort(SpansAggregateSort sort) |
String |
toString() |
SpansGroupBy |
total(SpansGroupByTotal total) |
public boolean unparsed
public static final String JSON_PROPERTY_FACET
public static final String JSON_PROPERTY_HISTOGRAM
public static final String JSON_PROPERTY_LIMIT
public static final String JSON_PROPERTY_MISSING
public static final String JSON_PROPERTY_SORT
public static final String JSON_PROPERTY_TOTAL
public SpansGroupBy()
public SpansGroupBy(String facet)
public SpansGroupBy facet(String facet)
public String getFacet()
public void setFacet(String facet)
public SpansGroupBy histogram(SpansGroupByHistogram histogram)
@Nullable public SpansGroupByHistogram getHistogram()
public void setHistogram(SpansGroupByHistogram histogram)
public SpansGroupBy limit(Long limit)
@Nullable public Long getLimit()
public void setLimit(Long limit)
public SpansGroupBy missing(SpansGroupByMissing missing)
@Nullable public SpansGroupByMissing getMissing()
public void setMissing(SpansGroupByMissing missing)
public SpansGroupBy sort(SpansAggregateSort sort)
@Nullable public SpansAggregateSort getSort()
public void setSort(SpansAggregateSort sort)
public SpansGroupBy total(SpansGroupByTotal total)
@Nullable public SpansGroupByTotal getTotal()
public void setTotal(SpansGroupByTotal total)
public SpansGroupBy putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2024. All rights reserved.