Class DataframeAnalyticsStats
java.lang.Object
co.elastic.clients.elasticsearch.ml.DataframeAnalyticsStats
- All Implemented Interfaces:
JsonpSerializable,TaggedUnion<DataframeAnalyticsStats.Kind,Object>
@JsonpDeserializable
public class DataframeAnalyticsStats
extends Object
implements TaggedUnion<DataframeAnalyticsStats.Kind,Object>, JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal Object_get()_kind()Get the of the kind of variant held by this object.Get theclassification_statsvariant value.booleanIs this variant instance of kindclassification_stats?booleanIs this variant instance of kindoutlier_detection_stats?booleanIs this variant instance of kindregression_stats?static DataframeAnalyticsStatsGet theoutlier_detection_statsvariant value.Get theregression_statsvariant value.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidtoString()
-
Field Details
-
_DESERIALIZER
-
-
Constructor Details
-
DataframeAnalyticsStats
-
-
Method Details
-
_kind
Description copied from interface:TaggedUnionGet the of the kind of variant held by this object.- Specified by:
_kindin interfaceTaggedUnion<DataframeAnalyticsStats.Kind,Object> - Returns:
- the variant kind
-
_get
- Specified by:
_getin interfaceTaggedUnion<DataframeAnalyticsStats.Kind,Object>
-
of
public static DataframeAnalyticsStats of(Function<DataframeAnalyticsStats.Builder, ObjectBuilder<DataframeAnalyticsStats>> fn) -
isClassificationStats
public boolean isClassificationStats()Is this variant instance of kindclassification_stats? -
classificationStats
Get theclassification_statsvariant value.- Throws:
IllegalStateException- if the current variant is not of theclassification_statskind.
-
isOutlierDetectionStats
public boolean isOutlierDetectionStats()Is this variant instance of kindoutlier_detection_stats? -
outlierDetectionStats
Get theoutlier_detection_statsvariant value.- Throws:
IllegalStateException- if the current variant is not of theoutlier_detection_statskind.
-
isRegressionStats
public boolean isRegressionStats()Is this variant instance of kindregression_stats? -
regressionStats
Get theregression_statsvariant value.- Throws:
IllegalStateException- if the current variant is not of theregression_statskind.
-
serialize
- Specified by:
serializein interfaceJsonpSerializable
-
toString
-
setupDataframeAnalyticsStatsDeserializer
protected static void setupDataframeAnalyticsStatsDeserializer(ObjectDeserializer<DataframeAnalyticsStats.Builder> op)
-