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 ProtoEnumInfoprivate final NumberDataPointMarshaler[]private final boolean -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateSumMarshaler(NumberDataPointMarshaler[] dataPoints, ProtoEnumInfo aggregationTemporality, boolean isMonotonic) -
Method Summary
Modifier and TypeMethodDescriptionprivate static intcalculateSize(NumberDataPointMarshaler[] dataPoints, ProtoEnumInfo aggregationTemporality, boolean isMonotonic) (package private) static SumMarshalervoidwriteTo(Serializer output) Methods inherited from class io.opentelemetry.exporter.internal.marshal.MarshalerWithSize
getBinarySerializedSizeMethods 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:
writeToin classMarshaler- Throws:
IOException
-
calculateSize
private static int calculateSize(NumberDataPointMarshaler[] dataPoints, ProtoEnumInfo aggregationTemporality, boolean isMonotonic)
-