Class AggregationData

java.lang.Object
io.opencensus.stats.AggregationData
Direct Known Subclasses:
AggregationData.CountData, AggregationData.DistributionData, AggregationData.LastValueDataDouble, AggregationData.LastValueDataLong, AggregationData.MeanData, AggregationData.SumDataDouble, AggregationData.SumDataLong

@Immutable public abstract class AggregationData extends Object
AggregationData is the result of applying a given Aggregation to a set of MeasureValues.

AggregationData currently supports 6 types of basic aggregation values:

  • SumDataDouble
  • SumDataLong
  • CountData
  • DistributionData
  • LastValueDataDouble
  • LastValueDataLong

ViewData will contain one AggregationData, corresponding to its Aggregation definition in View.

Since:
0.8