Class PhraseSuggestCollateQuery
java.lang.Object
co.elastic.clients.elasticsearch.core.search.PhraseSuggestCollateQuery
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable
public class PhraseSuggestCollateQuery
extends Object
implements JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<PhraseSuggestCollateQuery>Json deserializer forPhraseSuggestCollateQuery -
Method Summary
Modifier and TypeMethodDescriptionfinal Stringid()The search template ID.static PhraseSuggestCollateQueryvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidsetupPhraseSuggestCollateQueryDeserializer(ObjectDeserializer<PhraseSuggestCollateQuery.Builder> op) final ScriptSourcesource()The query source.toString()
-
Field Details
-
_DESERIALIZER
Json deserializer forPhraseSuggestCollateQuery
-
-
Method Details
-
of
public static PhraseSuggestCollateQuery of(Function<PhraseSuggestCollateQuery.Builder, ObjectBuilder<PhraseSuggestCollateQuery>> fn) -
id
The search template ID.API name:
id -
source
The query source.API name:
source -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupPhraseSuggestCollateQueryDeserializer
protected static void setupPhraseSuggestCollateQueryDeserializer(ObjectDeserializer<PhraseSuggestCollateQuery.Builder> op)
-