Class PercolateQuery
java.lang.Object
org.opensearch.client.opensearch._types.query_dsl.QueryBase
org.opensearch.client.opensearch._types.query_dsl.PercolateQuery
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,QueryVariant,ToCopyableBuilder<PercolateQuery.Builder,PercolateQuery>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class PercolateQuery
extends QueryBase
implements QueryVariant, ToCopyableBuilder<PercolateQuery.Builder,PercolateQuery>
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.opensearch.client.opensearch._types.query_dsl.QueryBase
QueryBase.AbstractBuilder<BuilderT extends QueryBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<PercolateQuery> Json deserializer forPercolateQuery -
Method Summary
Modifier and TypeMethodDescriptionQueryvariant kind.static PercolateQuery.Builderbuilder()final JsonDatadocument()The source of the document being percolated.An array of sources of the documents being percolated.booleanfinal Stringfield()Required - API name:fieldinthashCode()final Stringid()API name:idfinal Stringindex()API name:indexfinal Stringname()The suffix used for the_percolator_document_slotfield when multiplepercolatequeries are specified.static PercolateQueryfinal StringPreference used to fetch document to percolate.final Stringrouting()API name:routingprotected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.final Longversion()API name:versionMethods inherited from class org.opensearch.client.opensearch._types.query_dsl.QueryBase
boost, queryName, serialize, setupQueryBaseDeserializerMethods 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.opensearch._types.query_dsl.QueryVariant
toQueryMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forPercolateQuery
-
-
Method Details
-
of
-
_queryKind
Queryvariant kind.- Specified by:
_queryKindin interfaceQueryVariant
-
document
The source of the document being percolated.API name:
document -
documents
An array of sources of the documents being percolated.API name:
documents -
field
Required - API name:field -
id
API name:id -
index
API name:index -
name
The suffix used for the_percolator_document_slotfield when multiplepercolatequeries are specified.API name:
name -
preference
Preference used to fetch document to percolate.API name:
preference -
routing
API name:routing -
version
API name:version -
serializeInternal
- Overrides:
serializeInternalin classQueryBase
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<PercolateQuery.Builder,PercolateQuery> - Returns:
- a new builder instance.
-
builder
-
setupPercolateQueryDeserializer
protected static void setupPercolateQueryDeserializer(ObjectDeserializer<PercolateQuery.Builder> op) -
hashCode
public int hashCode() -
equals
-