Class DataframeAnalysisFeatureProcessor
java.lang.Object
co.elastic.clients.elasticsearch.ml.DataframeAnalysisFeatureProcessor
- All Implemented Interfaces:
JsonpSerializable,TaggedUnion<java.lang.Object>
@JsonpDeserializable public class DataframeAnalysisFeatureProcessor extends java.lang.Object implements TaggedUnion<java.lang.Object>, JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDataframeAnalysisFeatureProcessor.Builder -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<DataframeAnalysisFeatureProcessor>_DESERIALIZERstatic java.lang.StringFREQUENCY_ENCODINGstatic java.lang.StringMULTI_ENCODINGstatic java.lang.StringN_GRAM_ENCODINGstatic java.lang.StringONE_HOT_ENCODINGstatic java.lang.StringTARGET_MEAN_ENCODING -
Constructor Summary
Constructors Constructor Description DataframeAnalysisFeatureProcessor(DataframeAnalysisFeatureProcessorVariant value)DataframeAnalysisFeatureProcessor(ObjectBuilder<T> builder)DataframeAnalysisFeatureProcessor(java.util.function.Function<DataframeAnalysisFeatureProcessor.Builder,DataframeAnalysisFeatureProcessor.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.DataframeAnalysisFeatureProcessorFrequencyEncodingfrequencyEncoding()Get thefrequency_encodingvariant value.DataframeAnalysisFeatureProcessorMultiEncodingmultiEncoding()Get themulti_encodingvariant value.DataframeAnalysisFeatureProcessorNGramEncodingnGramEncoding()Get then_gram_encodingvariant value.DataframeAnalysisFeatureProcessorOneHotEncodingoneHotEncoding()Get theone_hot_encodingvariant value.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupDataframeAnalysisFeatureProcessorDeserializer(DelegatingDeserializer<DataframeAnalysisFeatureProcessor.Builder> op)DataframeAnalysisFeatureProcessorTargetMeanEncodingtargetMeanEncoding()Get thetarget_mean_encodingvariant value.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
-
FREQUENCY_ENCODING
public static final java.lang.String FREQUENCY_ENCODING- See Also:
- Constant Field Values
-
MULTI_ENCODING
public static final java.lang.String MULTI_ENCODING- See Also:
- Constant Field Values
-
N_GRAM_ENCODING
public static final java.lang.String N_GRAM_ENCODING- See Also:
- Constant Field Values
-
ONE_HOT_ENCODING
public static final java.lang.String ONE_HOT_ENCODING- See Also:
- Constant Field Values
-
TARGET_MEAN_ENCODING
public static final java.lang.String TARGET_MEAN_ENCODING- See Also:
- Constant Field Values
-
_DESERIALIZER
-
-
Constructor Details
-
DataframeAnalysisFeatureProcessor
-
DataframeAnalysisFeatureProcessor
-
DataframeAnalysisFeatureProcessor
public DataframeAnalysisFeatureProcessor(java.util.function.Function<DataframeAnalysisFeatureProcessor.Builder,DataframeAnalysisFeatureProcessor.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>
-
frequencyEncoding
Get thefrequency_encodingvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thefrequency_encodingkind.
-
multiEncoding
Get themulti_encodingvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of themulti_encodingkind.
-
nGramEncoding
Get then_gram_encodingvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of then_gram_encodingkind.
-
oneHotEncoding
Get theone_hot_encodingvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of theone_hot_encodingkind.
-
targetMeanEncoding
Get thetarget_mean_encodingvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thetarget_mean_encodingkind.
-
serialize
- Specified by:
serializein interfaceJsonpSerializable
-
setupDataframeAnalysisFeatureProcessorDeserializer
protected static void setupDataframeAnalysisFeatureProcessorDeserializer(DelegatingDeserializer<DataframeAnalysisFeatureProcessor.Builder> op)
-