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 SummaryNested Classes
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<PhraseSuggestCollateQuery>Json deserializer forPhraseSuggestCollateQuery
- 
Method SummaryModifier 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- 
_DESERIALIZERJson deserializer forPhraseSuggestCollateQuery
 
- 
- 
Method Details- 
ofpublic static PhraseSuggestCollateQuery of(Function<PhraseSuggestCollateQuery.Builder, ObjectBuilder<PhraseSuggestCollateQuery>> fn) 
- 
idThe search template ID.API name: id
- 
sourceThe query source.API name: source
- 
serializeSerialize this object to JSON.- Specified by:
- serializein interface- JsonpSerializable
 
- 
serializeInternal
- 
toString
- 
setupPhraseSuggestCollateQueryDeserializerprotected static void setupPhraseSuggestCollateQueryDeserializer(ObjectDeserializer<PhraseSuggestCollateQuery.Builder> op) 
 
-