Class SummaryDataPointMarshaler
java.lang.Object
io.opentelemetry.exporter.internal.marshal.Marshaler
io.opentelemetry.exporter.internal.marshal.MarshalerWithSize
io.opentelemetry.exporter.internal.otlp.metrics.SummaryDataPointMarshaler
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final MarshalerWithSize[]private final longprivate final ValueAtQuantileMarshaler[]private final longprivate final doubleprivate final long -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateSummaryDataPointMarshaler(long startTimeUnixNano, long timeUnixNano, long count, double sum, ValueAtQuantileMarshaler[] quantileValues, MarshalerWithSize[] attributes) -
Method Summary
Modifier and TypeMethodDescriptionprivate static intcalculateSize(long startTimeUnixNano, long timeUnixNano, long count, double sum, ValueAtQuantileMarshaler[] quantileValues, MarshalerWithSize[] attributes) (package private) static SummaryDataPointMarshalercreate(SummaryPointData point) (package private) static SummaryDataPointMarshaler[]createRepeated(Collection<SummaryPointData> points) voidwriteTo(Serializer output) Methods inherited from class MarshalerWithSize
getBinarySerializedSizeMethods inherited from class Marshaler
writeBinaryTo, writeJsonTo, writeJsonTo, writeJsonWithNewline
-
Field Details
-
startTimeUnixNano
private final long startTimeUnixNano -
timeUnixNano
private final long timeUnixNano -
count
private final long count -
sum
private final double sum -
quantileValues
-
attributes
-
-
Constructor Details
-
SummaryDataPointMarshaler
private SummaryDataPointMarshaler(long startTimeUnixNano, long timeUnixNano, long count, double sum, ValueAtQuantileMarshaler[] quantileValues, MarshalerWithSize[] attributes)
-
-
Method Details
-
createRepeated
-
create
-
writeTo
- Specified by:
writeToin classMarshaler- Throws:
IOException
-
calculateSize
private static int calculateSize(long startTimeUnixNano, long timeUnixNano, long count, double sum, ValueAtQuantileMarshaler[] quantileValues, MarshalerWithSize[] attributes)
-