Class DataframeAnalysisFeatureProcessor
java.lang.Object
co.elastic.clients.elasticsearch.ml.DataframeAnalysisFeatureProcessor
- All Implemented Interfaces:
JsonpSerializable,TaggedUnion<DataframeAnalysisFeatureProcessor.Kind,Object>
@JsonpDeserializable
public class DataframeAnalysisFeatureProcessor
extends Object
implements TaggedUnion<DataframeAnalysisFeatureProcessor.Kind,Object>, JsonpSerializable
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumDataframeAnalysisFeatureProcessorvariant kinds. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<DataframeAnalysisFeatureProcessor> -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionfinal Object_get()_kind()Get the of the kind of variant held by this object.Get thefrequency_encodingvariant value.booleanIs this variant instance of kindfrequency_encoding?booleanIs this variant instance of kindmulti_encoding?booleanIs this variant instance of kindn_gram_encoding?booleanIs this variant instance of kindone_hot_encoding?booleanIs this variant instance of kindtarget_mean_encoding?Get themulti_encodingvariant value.Get then_gram_encodingvariant value.of(Function<DataframeAnalysisFeatureProcessor.Builder, ObjectBuilder<DataframeAnalysisFeatureProcessor>> fn) Get theone_hot_encodingvariant value.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidsetupDataframeAnalysisFeatureProcessorDeserializer(ObjectDeserializer<DataframeAnalysisFeatureProcessor.Builder> op) Get thetarget_mean_encodingvariant value.toString()
-
Field Details
-
_DESERIALIZER
-
-
Constructor Details
-
DataframeAnalysisFeatureProcessor
-
-
Method Details
-
_kind
Description copied from interface:TaggedUnionGet the of the kind of variant held by this object.- Specified by:
_kindin interfaceTaggedUnion<DataframeAnalysisFeatureProcessor.Kind,Object> - Returns:
- the variant kind
-
_get
- Specified by:
_getin interfaceTaggedUnion<DataframeAnalysisFeatureProcessor.Kind,Object>
-
of
-
isFrequencyEncoding
public boolean isFrequencyEncoding()Is this variant instance of kindfrequency_encoding? -
frequencyEncoding
Get thefrequency_encodingvariant value.- Throws:
IllegalStateException- if the current variant is not of thefrequency_encodingkind.
-
isMultiEncoding
public boolean isMultiEncoding()Is this variant instance of kindmulti_encoding? -
multiEncoding
Get themulti_encodingvariant value.- Throws:
IllegalStateException- if the current variant is not of themulti_encodingkind.
-
isNGramEncoding
public boolean isNGramEncoding()Is this variant instance of kindn_gram_encoding? -
nGramEncoding
Get then_gram_encodingvariant value.- Throws:
IllegalStateException- if the current variant is not of then_gram_encodingkind.
-
isOneHotEncoding
public boolean isOneHotEncoding()Is this variant instance of kindone_hot_encoding? -
oneHotEncoding
Get theone_hot_encodingvariant value.- Throws:
IllegalStateException- if the current variant is not of theone_hot_encodingkind.
-
isTargetMeanEncoding
public boolean isTargetMeanEncoding()Is this variant instance of kindtarget_mean_encoding? -
targetMeanEncoding
Get thetarget_mean_encodingvariant value.- Throws:
IllegalStateException- if the current variant is not of thetarget_mean_encodingkind.
-
serialize
- Specified by:
serializein interfaceJsonpSerializable
-
toString
-
setupDataframeAnalysisFeatureProcessorDeserializer
protected static void setupDataframeAnalysisFeatureProcessorDeserializer(ObjectDeserializer<DataframeAnalysisFeatureProcessor.Builder> op)
-