Package com.atlan.model.search
Class AggregationResult
java.lang.Object
com.atlan.model.core.AtlanObject
com.atlan.model.search.AggregationResult
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AggregationBucketResult
,AggregationHitsResult
,AggregationMetricResult
Base class for all aggregation results in a search.
- 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
Methods inherited from class com.atlan.model.core.AtlanObject
canEqual, equals, getRawJsonObject, hashCode, setRawJsonObject, toJson
-
Constructor Details
-
AggregationResult
public AggregationResult()
-
-
Method Details
-
getMetric
Retrieve the numeric value from the provided aggregation result.- Returns:
- the numeric result for the aggregation
- Throws:
InvalidRequestException
- if the provided aggregation result is not a metric
-
toString
Description copied from class:AtlanObject
- Overrides:
toString
in classAtlanObject
-