Class MetricSummary
-
- All Implemented Interfaces:
public final class MetricSummarySummary of a metric's performance
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classMetricSummary.BuilderA builder for MetricSummary.
-
Method Summary
Modifier and Type Method Description final Longimprovements()Number of improvements in the metric final Doublemetric()Average metric across all examples final Stringname()Name of the metric final Longregressions()Number of regressions in the metric final Stringunit()Unit label for the metric final Optional<Double>diff()Difference in metric between the current and comparison experiment final JsonField<Long>_improvements()Returns the raw JSON value of improvements. final JsonField<Double>_metric()Returns the raw JSON value of metric. final JsonField<String>_name()Returns the raw JSON value of name. final JsonField<Long>_regressions()Returns the raw JSON value of regressions. final JsonField<String>_unit()Returns the raw JSON value of unit. final JsonField<Double>_diff()Returns the raw JSON value of diff. final Map<String, JsonValue>_additionalProperties()final MetricSummary.BuildertoBuilder()final MetricSummaryvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static MetricSummary.Builderbuilder()Returns a mutable builder for constructing an instance of MetricSummary. -
-
Method Detail
-
improvements
final Long improvements()
Number of improvements in the metric
-
regressions
final Long regressions()
Number of regressions in the metric
-
diff
final Optional<Double> diff()
Difference in metric between the current and comparison experiment
-
_improvements
final JsonField<Long> _improvements()
Returns the raw JSON value of improvements.
Unlike improvements, this method doesn't throw if the JSON field has an unexpected type.
-
_metric
final JsonField<Double> _metric()
Returns the raw JSON value of metric.
Unlike metric, this method doesn't throw if the JSON field has an unexpected type.
-
_name
final JsonField<String> _name()
Returns the raw JSON value of name.
Unlike name, this method doesn't throw if the JSON field has an unexpected type.
-
_regressions
final JsonField<Long> _regressions()
Returns the raw JSON value of regressions.
Unlike regressions, this method doesn't throw if the JSON field has an unexpected type.
-
_unit
final JsonField<String> _unit()
Returns the raw JSON value of unit.
Unlike unit, this method doesn't throw if the JSON field has an unexpected type.
-
_diff
final JsonField<Double> _diff()
Returns the raw JSON value of diff.
Unlike diff, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final MetricSummary.Builder toBuilder()
-
validate
final MetricSummary validate()
-
builder
final static MetricSummary.Builder builder()
Returns a mutable builder for constructing an instance of MetricSummary.
The following fields are required:
.improvements() .metric() .name() .regressions() .unit()
-
-
-
-