Class ValueAtQuantileMarshaler
java.lang.Object
io.opentelemetry.exporter.internal.marshal.Marshaler
io.opentelemetry.exporter.internal.marshal.MarshalerWithSize
io.opentelemetry.exporter.internal.otlp.metrics.ValueAtQuantileMarshaler
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static int
calculateSize
(double quantile, double value) private static ValueAtQuantileMarshaler
create
(ValueAtQuantile value) (package private) static ValueAtQuantileMarshaler[]
createRepeated
(List<ValueAtQuantile> 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
-
quantile
private final double quantile -
value
private final double value
-
-
Constructor Details
-
ValueAtQuantileMarshaler
private ValueAtQuantileMarshaler(double quantile, double value)
-
-
Method Details
-
createRepeated
-
create
-
writeTo
- Specified by:
writeTo
in classMarshaler
- Throws:
IOException
-
calculateSize
static int calculateSize(double quantile, double value)
-