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 class
TextIndexPrefixes.Builder
Builder forTextIndexPrefixes
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<TextIndexPrefixes>
_DESERIALIZER
Json deserializer forTextIndexPrefixes
-
Method Summary
Modifier and Type Method Description int
maxChars()
Required - API name:max_chars
int
minChars()
Required - API name:min_chars
static TextIndexPrefixes
of(java.util.function.Function<TextIndexPrefixes.Builder,ObjectBuilder<TextIndexPrefixes>> fn)
void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupTextIndexPrefixesDeserializer(ObjectDeserializer<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
-
-
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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupTextIndexPrefixesDeserializer
protected static void setupTextIndexPrefixesDeserializer(ObjectDeserializer<TextIndexPrefixes.Builder> op)
-