Class SumMarshaler
java.lang.Object
io.opentelemetry.exporter.internal.marshal.Marshaler
io.opentelemetry.exporter.internal.marshal.MarshalerWithSize
io.opentelemetry.exporter.internal.otlp.metrics.SumMarshaler
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ProtoEnumInfo
private final NumberDataPointMarshaler[]
private final boolean
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
SumMarshaler
(NumberDataPointMarshaler[] dataPoints, ProtoEnumInfo aggregationTemporality, boolean isMonotonic) -
Method Summary
Modifier and TypeMethodDescriptionprivate static int
calculateSize
(NumberDataPointMarshaler[] dataPoints, ProtoEnumInfo aggregationTemporality, boolean isMonotonic) (package private) static SumMarshaler
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
-
dataPoints
-
aggregationTemporality
-
isMonotonic
private final boolean isMonotonic
-
-
Constructor Details
-
SumMarshaler
private SumMarshaler(NumberDataPointMarshaler[] dataPoints, ProtoEnumInfo aggregationTemporality, boolean isMonotonic)
-
-
Method Details
-
create
-
writeTo
- Specified by:
writeTo
in classMarshaler
- Throws:
IOException
-
calculateSize
private static int calculateSize(NumberDataPointMarshaler[] dataPoints, ProtoEnumInfo aggregationTemporality, boolean isMonotonic)
-