Class TextIndexPrefixes
java.lang.Object
co.elastic.clients.elasticsearch._types.mapping.TextIndexPrefixes
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class TextIndexPrefixes extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
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 -
Method Summary
Modifier and Type Method Description intmaxChars()Required - API name:max_charsintminChars()Required - API name:min_charsstatic TextIndexPrefixesof(java.util.function.Function<TextIndexPrefixes.Builder,ObjectBuilder<TextIndexPrefixes>> 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 voidsetupTextIndexPrefixesDeserializer(ObjectDeserializer<TextIndexPrefixes.Builder> op)java.lang.StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forTextIndexPrefixes
-
-
Method Details
-
of
public static TextIndexPrefixes of(java.util.function.Function<TextIndexPrefixes.Builder,ObjectBuilder<TextIndexPrefixes>> fn) -
maxChars
public final int maxChars()Required - API name:max_chars -
minChars
public final int minChars()Required - API name:min_chars -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupTextIndexPrefixesDeserializer
protected static void setupTextIndexPrefixesDeserializer(ObjectDeserializer<TextIndexPrefixes.Builder> op)
-