Class DataframeAnalysisFeatureProcessorNGramEncoding
java.lang.Object
co.elastic.clients.elasticsearch.ml.DataframeAnalysisFeatureProcessorNGramEncoding
- All Implemented Interfaces:
- DataframeAnalysisFeatureProcessorVariant,- JsonpSerializable
@JsonpDeserializable
public class DataframeAnalysisFeatureProcessorNGramEncoding
extends Object
implements DataframeAnalysisFeatureProcessorVariant, JsonpSerializable
- See Also:
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classBuilder forDataframeAnalysisFeatureProcessorNGramEncoding.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionJson deserializer forDataframeAnalysisFeatureProcessorNGramEncoding
- 
Method SummaryModifier and TypeMethodDescriptionDataframeAnalysisFeatureProcessor variant kind.final Booleancustom()API name:customfinal StringThe feature name prefix.final Stringfield()Required - The name of the text field to encode.final Integerlength()Specifies the length of the n-gram substring.nGrams()Required - Specifies which n-grams to gather.of(Function<DataframeAnalysisFeatureProcessorNGramEncoding.Builder, ObjectBuilder<DataframeAnalysisFeatureProcessorNGramEncoding>> fn) voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidsetupDataframeAnalysisFeatureProcessorNGramEncodingDeserializer(ObjectDeserializer<DataframeAnalysisFeatureProcessorNGramEncoding.Builder> op) final Integerstart()Specifies the zero-indexed start of the n-gram substring.toString()Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface co.elastic.clients.elasticsearch.ml.DataframeAnalysisFeatureProcessorVariant_toDataframeAnalysisFeatureProcessor
- 
Field Details- 
_DESERIALIZERJson deserializer forDataframeAnalysisFeatureProcessorNGramEncoding
 
- 
- 
Method Details- 
of
- 
_dataframeAnalysisFeatureProcessorKindDataframeAnalysisFeatureProcessor variant kind.- Specified by:
- _dataframeAnalysisFeatureProcessorKindin interface- DataframeAnalysisFeatureProcessorVariant
 
- 
featurePrefixThe feature name prefix. Defaults to ngram_<start>_<length>.API name: feature_prefix
- 
fieldRequired - The name of the text field to encode.API name: field
- 
lengthSpecifies the length of the n-gram substring. Defaults to 50. Must be greater than 0.API name: length
- 
nGramsRequired - Specifies which n-grams to gather. It’s an array of integer values where the minimum value is 1, and a maximum value is 5.API name: n_grams
- 
startSpecifies the zero-indexed start of the n-gram substring. Negative values are allowed for encoding n-grams of string suffixes. Defaults to 0.API name: start
- 
customAPI name:custom
- 
serializeSerialize this object to JSON.- Specified by:
- serializein interface- JsonpSerializable
 
- 
serializeInternal
- 
toString
- 
setupDataframeAnalysisFeatureProcessorNGramEncodingDeserializerprotected static void setupDataframeAnalysisFeatureProcessorNGramEncodingDeserializer(ObjectDeserializer<DataframeAnalysisFeatureProcessorNGramEncoding.Builder> op) 
 
-