Class TermSuggest
java.lang.Object
co.elastic.clients.elasticsearch.core.search.SuggestBase
co.elastic.clients.elasticsearch.core.search.TermSuggest
- All Implemented Interfaces:
SuggestionVariant,JsonpSerializable
@JsonpDeserializable public class TermSuggest extends SuggestBase implements SuggestionVariant
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTermSuggest.BuilderBuilder forTermSuggest.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch.core.search.SuggestBase
SuggestBase.AbstractBuilder<BuilderT extends SuggestBase.AbstractBuilder<BuilderT>> -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<TermSuggest>_DESERIALIZERJson deserializer forTermSuggest -
Method Summary
Modifier and Type Method Description Suggestion.Kind_suggestionKind()Suggestion variant kind.static TermSuggestof(java.util.function.Function<TermSuggest.Builder,ObjectBuilder<TermSuggest>> fn)TermSuggestOptionoptions()Required - API name:optionsprotected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupTermSuggestDeserializer(ObjectDeserializer<TermSuggest.Builder> op)Methods inherited from class co.elastic.clients.elasticsearch.core.search.SuggestBase
length, offset, serialize, setupSuggestBaseDeserializer, text, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface co.elastic.clients.elasticsearch.core.search.SuggestionVariant
_toSuggestion
-
Field Details
-
_DESERIALIZER
Json deserializer forTermSuggest
-
-
Method Details
-
of
public static TermSuggest of(java.util.function.Function<TermSuggest.Builder,ObjectBuilder<TermSuggest>> fn) -
_suggestionKind
Suggestion variant kind.- Specified by:
_suggestionKindin interfaceSuggestionVariant
-
options
Required - API name:options -
serializeInternal
- Overrides:
serializeInternalin classSuggestBase
-
setupTermSuggestDeserializer
-