Class SummaryMarshaler
- java.lang.Object
-
- io.opentelemetry.exporter.internal.marshal.Marshaler
-
- io.opentelemetry.exporter.internal.marshal.MarshalerWithSize
-
- io.opentelemetry.exporter.internal.otlp.metrics.SummaryMarshaler
-
final class SummaryMarshaler extends MarshalerWithSize
-
-
Field Summary
Fields Modifier and Type Field Description private SummaryDataPointMarshaler[]
dataPoints
-
Constructor Summary
Constructors Modifier Constructor Description private
SummaryMarshaler(SummaryDataPointMarshaler[] dataPoints)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static int
calculateSize(SummaryDataPointMarshaler[] dataPoints)
(package private) static SummaryMarshaler
create(SummaryData summary)
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 Detail
-
dataPoints
private final SummaryDataPointMarshaler[] dataPoints
-
-
Constructor Detail
-
SummaryMarshaler
private SummaryMarshaler(SummaryDataPointMarshaler[] dataPoints)
-
-
Method Detail
-
create
static SummaryMarshaler create(SummaryData summary)
-
writeTo
public void writeTo(Serializer output) throws java.io.IOException
-
calculateSize
private static int calculateSize(SummaryDataPointMarshaler[] dataPoints)
-
-