Class TermsSetQuery
- java.lang.Object
-
- org.opensearch.client.opensearch._types.query_dsl.QueryBase
-
- org.opensearch.client.opensearch._types.query_dsl.TermsSetQuery
-
- All Implemented Interfaces:
JsonpSerializable
,PlainJsonSerializable
,QueryVariant
@JsonpDeserializable public class TermsSetQuery extends QueryBase implements QueryVariant
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TermsSetQuery.Builder
Builder forTermsSetQuery
.-
Nested classes/interfaces inherited from class org.opensearch.client.opensearch._types.query_dsl.QueryBase
QueryBase.AbstractBuilder<BuilderT extends QueryBase.AbstractBuilder<BuilderT>>
-
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<TermsSetQuery>
_DESERIALIZER
Json deserializer forTermsSetQuery
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Query.Kind
_queryKind()
Query variant kind.java.lang.String
field()
Required - The target fieldjava.lang.String
minimumShouldMatchField()
API name:minimum_should_match_field
Script
minimumShouldMatchScript()
API name:minimum_should_match_script
static TermsSetQuery
of(java.util.function.Function<TermsSetQuery.Builder,ObjectBuilder<TermsSetQuery>> fn)
protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupTermsSetQueryDeserializer(ObjectDeserializer<TermsSetQuery.Builder> op)
java.util.List<java.lang.String>
terms()
Required - API name:terms
TermsSetQuery.Builder
toBuilder()
-
Methods inherited from class org.opensearch.client.opensearch._types.query_dsl.QueryBase
boost, queryName, serialize, setupQueryBaseDeserializer
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonString
-
Methods inherited from interface org.opensearch.client.opensearch._types.query_dsl.QueryVariant
_toQuery, toQuery
-
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<TermsSetQuery> _DESERIALIZER
Json deserializer forTermsSetQuery
-
-
Method Detail
-
of
public static TermsSetQuery of(java.util.function.Function<TermsSetQuery.Builder,ObjectBuilder<TermsSetQuery>> fn)
-
_queryKind
public Query.Kind _queryKind()
Query variant kind.- Specified by:
_queryKind
in interfaceQueryVariant
-
field
public final java.lang.String field()
Required - The target field
-
minimumShouldMatchField
@Nullable public final java.lang.String minimumShouldMatchField()
API name:minimum_should_match_field
-
minimumShouldMatchScript
@Nullable public final Script minimumShouldMatchScript()
API name:minimum_should_match_script
-
terms
public final java.util.List<java.lang.String> terms()
Required - API name:terms
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
- Overrides:
serializeInternal
in classQueryBase
-
toBuilder
public TermsSetQuery.Builder toBuilder()
-
setupTermsSetQueryDeserializer
protected static void setupTermsSetQueryDeserializer(ObjectDeserializer<TermsSetQuery.Builder> op)
-
-