Class PhraseSuggestCollate
java.lang.Object
org.opensearch.client.opensearch.core.search.PhraseSuggestCollate
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<PhraseSuggestCollate.Builder,PhraseSuggestCollate>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class PhraseSuggestCollate
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<PhraseSuggestCollate.Builder,PhraseSuggestCollate>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<PhraseSuggestCollate> Json deserializer forPhraseSuggestCollate -
Method Summary
Modifier and TypeMethodDescriptionstatic PhraseSuggestCollate.Builderbuilder()booleaninthashCode()static PhraseSuggestCollateparams()API name:paramsfinal Booleanprune()API name:prunequery()Required - API name:queryvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forPhraseSuggestCollate
-
-
Method Details
-
of
public static PhraseSuggestCollate of(Function<PhraseSuggestCollate.Builder, ObjectBuilder<PhraseSuggestCollate>> fn) -
params
API name:params -
prune
API name:prune -
query
Required - API name:query -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<PhraseSuggestCollate.Builder,PhraseSuggestCollate> - Returns:
- a new builder instance.
-
builder
-
setupPhraseSuggestCollateDeserializer
protected static void setupPhraseSuggestCollateDeserializer(ObjectDeserializer<PhraseSuggestCollate.Builder> op) -
hashCode
public int hashCode() -
equals
-