Class MatchBoolPrefixQuery
- java.lang.Object
-
- org.opensearch.client.opensearch._types.query_dsl.QueryBase
-
- org.opensearch.client.opensearch._types.query_dsl.MatchBoolPrefixQuery
-
- All Implemented Interfaces:
JsonpSerializable
,PlainJsonSerializable
,QueryVariant
@JsonpDeserializable public class MatchBoolPrefixQuery extends QueryBase implements QueryVariant
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MatchBoolPrefixQuery.Builder
Builder forMatchBoolPrefixQuery
.-
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<MatchBoolPrefixQuery>
_DESERIALIZER
Json deserializer forMatchBoolPrefixQuery
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Query.Kind
_queryKind()
Query variant kind.java.lang.String
analyzer()
API name:analyzer
java.lang.String
field()
Required - The target fieldjava.lang.String
fuzziness()
API name:fuzziness
java.lang.String
fuzzyRewrite()
API name:fuzzy_rewrite
java.lang.Boolean
fuzzyTranspositions()
API name:fuzzy_transpositions
java.lang.Integer
maxExpansions()
API name:max_expansions
java.lang.String
minimumShouldMatch()
API name:minimum_should_match
static MatchBoolPrefixQuery
of(java.util.function.Function<MatchBoolPrefixQuery.Builder,ObjectBuilder<MatchBoolPrefixQuery>> fn)
Operator
operator()
API name:operator
java.lang.Integer
prefixLength()
API name:prefix_length
java.lang.String
query()
Required - API name:query
protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupMatchBoolPrefixQueryDeserializer(ObjectDeserializer<MatchBoolPrefixQuery.Builder> op)
MatchBoolPrefixQuery.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<MatchBoolPrefixQuery> _DESERIALIZER
Json deserializer forMatchBoolPrefixQuery
-
-
Method Detail
-
of
public static MatchBoolPrefixQuery of(java.util.function.Function<MatchBoolPrefixQuery.Builder,ObjectBuilder<MatchBoolPrefixQuery>> 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
-
analyzer
@Nullable public final java.lang.String analyzer()
API name:analyzer
-
fuzziness
@Nullable public final java.lang.String fuzziness()
API name:fuzziness
-
fuzzyRewrite
@Nullable public final java.lang.String fuzzyRewrite()
API name:fuzzy_rewrite
-
fuzzyTranspositions
@Nullable public final java.lang.Boolean fuzzyTranspositions()
API name:fuzzy_transpositions
-
maxExpansions
@Nullable public final java.lang.Integer maxExpansions()
API name:max_expansions
-
minimumShouldMatch
@Nullable public final java.lang.String minimumShouldMatch()
API name:minimum_should_match
-
operator
@Nullable public final Operator operator()
API name:operator
-
prefixLength
@Nullable public final java.lang.Integer prefixLength()
API name:prefix_length
-
query
public final java.lang.String query()
Required - API name:query
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
- Overrides:
serializeInternal
in classQueryBase
-
toBuilder
public MatchBoolPrefixQuery.Builder toBuilder()
-
setupMatchBoolPrefixQueryDeserializer
protected static void setupMatchBoolPrefixQueryDeserializer(ObjectDeserializer<MatchBoolPrefixQuery.Builder> op)
-
-