Class ArrayAnyValueMarshaler
java.lang.Object
io.opentelemetry.exporter.internal.marshal.Marshaler
io.opentelemetry.exporter.internal.marshal.MarshalerWithSize
io.opentelemetry.exporter.internal.otlp.ArrayAnyValueMarshaler
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
-
Method Summary
Modifier and TypeMethodDescriptionprivate static int
calculateSize
(Marshaler value) (package private) static MarshalerWithSize
createAnyValue
(List<Value<?>> values) (package private) static MarshalerWithSize
createBool
(List<Boolean> values) (package private) static MarshalerWithSize
createDouble
(List<Double> values) (package private) static MarshalerWithSize
private static <T,
M extends MarshalerWithSize>
MarshalerWithSizecreateInternal
(List<T> values, Function<T, M> initializer) (package private) static MarshalerWithSize
createString
(List<String> 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 Details
-
value
-
-
Constructor Details
-
ArrayAnyValueMarshaler
-
-
Method Details
-
createAnyValue
-
createString
-
createBool
-
createInt
-
createDouble
-
createInternal
private static <T,M extends MarshalerWithSize> MarshalerWithSize createInternal(List<T> values, Function<T, M> initializer) -
writeTo
- Specified by:
writeTo
in classMarshaler
- Throws:
IOException
-
calculateSize
-