Class DataframeAnalysis
java.lang.Object
co.elastic.clients.elasticsearch.ml.DataframeAnalysis
- All Implemented Interfaces:
JsonpSerializable,TaggedUnion<java.lang.Object>
@JsonpDeserializable public class DataframeAnalysis extends java.lang.Object implements TaggedUnion<java.lang.Object>, JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDataframeAnalysis.Builder -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<DataframeAnalysis>_DESERIALIZERstatic java.lang.StringCLASSIFICATIONstatic java.lang.StringOUTLIER_DETECTIONstatic java.lang.StringREGRESSION -
Constructor Summary
Constructors Constructor Description DataframeAnalysis(DataframeAnalysisVariant value)DataframeAnalysis(ObjectBuilder<T> builder)DataframeAnalysis(java.util.function.Function<DataframeAnalysis.Builder,DataframeAnalysis.Builder> fn) -
Method Summary
Modifier and Type Method Description java.lang.Object_get()java.lang.String_type()Get the of the type of the variant held by this union object.DataframeAnalysisClassificationclassification()Get theclassificationvariant value.DataframeAnalysisOutlierDetectionoutlierDetection()Get theoutlier_detectionvariant value.DataframeAnalysisRegressionregression()Get theregressionvariant value.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupDataframeAnalysisDeserializer(DelegatingDeserializer<DataframeAnalysis.Builder> op)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface co.elastic.clients.util.TaggedUnion
_is
-
Field Details
-
CLASSIFICATION
public static final java.lang.String CLASSIFICATION- See Also:
- Constant Field Values
-
OUTLIER_DETECTION
public static final java.lang.String OUTLIER_DETECTION- See Also:
- Constant Field Values
-
REGRESSION
public static final java.lang.String REGRESSION- See Also:
- Constant Field Values
-
_DESERIALIZER
-
-
Constructor Details
-
DataframeAnalysis
-
DataframeAnalysis
-
DataframeAnalysis
public DataframeAnalysis(java.util.function.Function<DataframeAnalysis.Builder,DataframeAnalysis.Builder> fn)
-
-
Method Details
-
_type
public java.lang.String _type()Description copied from interface:TaggedUnionGet the of the type of the variant held by this union object.- Specified by:
_typein interfaceTaggedUnion<java.lang.Object>- Returns:
- the variant type
-
_get
public java.lang.Object _get()- Specified by:
_getin interfaceTaggedUnion<java.lang.Object>
-
classification
Get theclassificationvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of theclassificationkind.
-
outlierDetection
Get theoutlier_detectionvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of theoutlier_detectionkind.
-
regression
Get theregressionvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of theregressionkind.
-
serialize
- Specified by:
serializein interfaceJsonpSerializable
-
setupDataframeAnalysisDeserializer
protected static void setupDataframeAnalysisDeserializer(DelegatingDeserializer<DataframeAnalysis.Builder> op)
-