Package com.atlan.model.search
Class AggregationBucketDetails
java.lang.Object
com.atlan.model.core.AtlanObject
com.atlan.model.search.AggregationBucketDetails
- All Implemented Interfaces:
Serializable
Captures the results of a single bucket within an aggregation.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.atlan.model.core.AtlanObject
AtlanObject.AtlanObjectBuilder<C extends AtlanObject,
B extends AtlanObject.AtlanObjectBuilder<C, B>> -
Field Summary
Fields inherited from class com.atlan.model.core.AtlanObject
rawJsonObject
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Number of results that fit within this bucket of the aggregation.getFrom()
Start of a range (date, geo, IP, etc), as a number or string.Start of a range, as a string.getKey()
Key of the field representing this bucket of aggregate results.Key of the field representing this bucket of aggregate results, as a string.TBCNested aggregation results.getSourceValue
(AtlanField field) Return the source value of the specified field for this bucket.getTo()
End of a range (date, geo, IP, etc), as a number or string.End of a range, as a string.int
hashCode()
toString()
Methods inherited from class com.atlan.model.core.AtlanObject
getRawJsonObject, setRawJsonObject, toJson
-
Constructor Details
-
AggregationBucketDetails
public AggregationBucketDetails()
-
-
Method Details
-
getSourceValue
Return the source value of the specified field for this bucket.- Parameters:
field
- field in Atlan for which to retrieve the value- Returns:
- the value of the field in Atlan that is represented within this bucket, if any
-
getKeyAsString
Key of the field representing this bucket of aggregate results, as a string. For example, when the key is a date (numeric) this will be something like "2015-01-01". -
getKey
Key of the field representing this bucket of aggregate results. This could be a string, a number (in the case of dates), or an array (in the case of multi-term aggregations). -
getDocCount
Number of results that fit within this bucket of the aggregation. -
getMaxMatchingLength
TBC -
getTo
End of a range (date, geo, IP, etc), as a number or string. -
getToAsString
End of a range, as a string. -
getFrom
Start of a range (date, geo, IP, etc), as a number or string. -
getFromAsString
Start of a range, as a string. -
getNestedResults
Nested aggregation results. -
equals
- Overrides:
equals
in classAtlanObject
-
canEqual
- Overrides:
canEqual
in classAtlanObject
-
hashCode
public int hashCode()- Overrides:
hashCode
in classAtlanObject
-
toString
Description copied from class:AtlanObject
- Overrides:
toString
in classAtlanObject
-