Class TextIndexPrefixes
java.lang.Object
co.elastic.clients.elasticsearch._types.mapping.TextIndexPrefixes
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class TextIndexPrefixes extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTextIndexPrefixes.BuilderBuilder forTextIndexPrefixes. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<TextIndexPrefixes>_DESERIALIZERJson deserializer forTextIndexPrefixes -
Constructor Summary
Constructors Constructor Description TextIndexPrefixes(TextIndexPrefixes.Builder builder)TextIndexPrefixes(java.util.function.Function<TextIndexPrefixes.Builder,TextIndexPrefixes.Builder> fn) -
Method Summary
Modifier and Type Method Description intmaxChars()Required - API name:max_charsintminChars()Required - API name:min_charsvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupTextIndexPrefixesDeserializer(DelegatingDeserializer<TextIndexPrefixes.Builder> op)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forTextIndexPrefixes
-
-
Constructor Details
-
TextIndexPrefixes
-
TextIndexPrefixes
public TextIndexPrefixes(java.util.function.Function<TextIndexPrefixes.Builder,TextIndexPrefixes.Builder> fn)
-
-
Method Details
-
maxChars
public int maxChars()Required - API name:max_chars -
minChars
public int minChars()Required - API name:min_chars -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupTextIndexPrefixesDeserializer
protected static void setupTextIndexPrefixesDeserializer(DelegatingDeserializer<TextIndexPrefixes.Builder> op)
-