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 long
private final ValueAtQuantileMarshaler[]
private final long
private final double
private final long
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
SummaryDataPointMarshaler
(long startTimeUnixNano, long timeUnixNano, long count, double sum, ValueAtQuantileMarshaler[] quantileValues, MarshalerWithSize[] attributes) -
Method Summary
Modifier and TypeMethodDescriptionprivate static int
calculateSize
(long startTimeUnixNano, long timeUnixNano, long count, double sum, ValueAtQuantileMarshaler[] quantileValues, MarshalerWithSize[] attributes) (package private) static SummaryDataPointMarshaler
create
(SummaryPointData point) (package private) static SummaryDataPointMarshaler[]
createRepeated
(Collection<SummaryPointData> points) void
writeTo
(Serializer output) Methods inherited from class io.opentelemetry.exporter.internal.marshal.MarshalerWithSize
getBinarySerializedSize
Methods inherited from class io.opentelemetry.exporter.internal.marshal.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:
writeTo
in classMarshaler
- Throws:
IOException
-
calculateSize
private static int calculateSize(long startTimeUnixNano, long timeUnixNano, long count, double sum, ValueAtQuantileMarshaler[] quantileValues, MarshalerWithSize[] attributes)
-