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 class
DataframeAnalysisFeatureProcessor.Builder
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<DataframeAnalysisFeatureProcessor>
_DESERIALIZER
static java.lang.String
FREQUENCY_ENCODING
static java.lang.String
MULTI_ENCODING
static java.lang.String
N_GRAM_ENCODING
static java.lang.String
ONE_HOT_ENCODING
static java.lang.String
TARGET_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.DataframeAnalysisFeatureProcessorFrequencyEncoding
frequencyEncoding()
Get thefrequency_encoding
variant value.DataframeAnalysisFeatureProcessorMultiEncoding
multiEncoding()
Get themulti_encoding
variant value.DataframeAnalysisFeatureProcessorNGramEncoding
nGramEncoding()
Get then_gram_encoding
variant value.DataframeAnalysisFeatureProcessorOneHotEncoding
oneHotEncoding()
Get theone_hot_encoding
variant value.void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupDataframeAnalysisFeatureProcessorDeserializer(DelegatingDeserializer<DataframeAnalysisFeatureProcessor.Builder> op)
DataframeAnalysisFeatureProcessorTargetMeanEncoding
targetMeanEncoding()
Get thetarget_mean_encoding
variant value.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:TaggedUnion
Get the of the type of the variant held by this union object.- Specified by:
_type
in interfaceTaggedUnion<java.lang.Object>
- Returns:
- the variant type
-
_get
public java.lang.Object _get()- Specified by:
_get
in interfaceTaggedUnion<java.lang.Object>
-
frequencyEncoding
Get thefrequency_encoding
variant value.- Throws:
java.lang.IllegalStateException
- if the current variant is not of thefrequency_encoding
kind.
-
multiEncoding
Get themulti_encoding
variant value.- Throws:
java.lang.IllegalStateException
- if the current variant is not of themulti_encoding
kind.
-
nGramEncoding
Get then_gram_encoding
variant value.- Throws:
java.lang.IllegalStateException
- if the current variant is not of then_gram_encoding
kind.
-
oneHotEncoding
Get theone_hot_encoding
variant value.- Throws:
java.lang.IllegalStateException
- if the current variant is not of theone_hot_encoding
kind.
-
targetMeanEncoding
Get thetarget_mean_encoding
variant value.- Throws:
java.lang.IllegalStateException
- if the current variant is not of thetarget_mean_encoding
kind.
-
serialize
- Specified by:
serialize
in interfaceJsonpSerializable
-
setupDataframeAnalysisFeatureProcessorDeserializer
protected static void setupDataframeAnalysisFeatureProcessorDeserializer(DelegatingDeserializer<DataframeAnalysisFeatureProcessor.Builder> op)
-