Class KeyValueListAnyValueMarshaler
- java.lang.Object
-
- io.opentelemetry.exporter.internal.marshal.Marshaler
-
- io.opentelemetry.exporter.internal.marshal.MarshalerWithSize
-
- io.opentelemetry.exporter.internal.otlp.KeyValueListAnyValueMarshaler
-
final class KeyValueListAnyValueMarshaler extends MarshalerWithSize
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
KeyValueListAnyValueMarshaler.KeyValueListMarshaler
-
Constructor Summary
Constructors Modifier Constructor Description private
KeyValueListAnyValueMarshaler(KeyValueListAnyValueMarshaler.KeyValueListMarshaler value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static int
calculateSize(Marshaler value)
(package private) static MarshalerWithSize
create(java.util.List<KeyValue> values)
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
-
value
private final Marshaler value
-
-
Constructor Detail
-
KeyValueListAnyValueMarshaler
private KeyValueListAnyValueMarshaler(KeyValueListAnyValueMarshaler.KeyValueListMarshaler value)
-
-
Method Detail
-
create
static MarshalerWithSize create(java.util.List<KeyValue> values)
-
writeTo
public void writeTo(Serializer output) throws java.io.IOException
-
calculateSize
private static int calculateSize(Marshaler value)
-
-