Class ArrayAnyValueMarshaler
- java.lang.Object
-
- io.opentelemetry.exporter.internal.marshal.Marshaler
-
- io.opentelemetry.exporter.internal.marshal.MarshalerWithSize
-
- io.opentelemetry.exporter.internal.otlp.ArrayAnyValueMarshaler
-
final class ArrayAnyValueMarshaler extends MarshalerWithSize
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
ArrayAnyValueMarshaler.ArrayValueMarshaler
-
Constructor Summary
Constructors Modifier Constructor Description private
ArrayAnyValueMarshaler(ArrayAnyValueMarshaler.ArrayValueMarshaler 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
createAnyValue(java.util.List<Value<?>> values)
(package private) static MarshalerWithSize
createBool(java.util.List<java.lang.Boolean> values)
(package private) static MarshalerWithSize
createDouble(java.util.List<java.lang.Double> values)
(package private) static MarshalerWithSize
createInt(java.util.List<java.lang.Long> values)
private static <T,M extends MarshalerWithSize>
MarshalerWithSizecreateInternal(java.util.List<T> values, java.util.function.Function<T,M> initializer)
(package private) static MarshalerWithSize
createString(java.util.List<java.lang.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 Detail
-
value
private final Marshaler value
-
-
Constructor Detail
-
ArrayAnyValueMarshaler
private ArrayAnyValueMarshaler(ArrayAnyValueMarshaler.ArrayValueMarshaler value)
-
-
Method Detail
-
createAnyValue
static MarshalerWithSize createAnyValue(java.util.List<Value<?>> values)
-
createString
static MarshalerWithSize createString(java.util.List<java.lang.String> values)
-
createBool
static MarshalerWithSize createBool(java.util.List<java.lang.Boolean> values)
-
createInt
static MarshalerWithSize createInt(java.util.List<java.lang.Long> values)
-
createDouble
static MarshalerWithSize createDouble(java.util.List<java.lang.Double> values)
-
createInternal
private static <T,M extends MarshalerWithSize> MarshalerWithSize createInternal(java.util.List<T> values, java.util.function.Function<T,M> initializer)
-
writeTo
public void writeTo(Serializer output) throws java.io.IOException
-
calculateSize
private static int calculateSize(Marshaler value)
-
-