Class WildcardQuery
- java.lang.Object
-
- org.opensearch.client.opensearch._types.query_dsl.QueryBase
-
- org.opensearch.client.opensearch._types.query_dsl.WildcardQuery
-
- All Implemented Interfaces:
JsonpSerializable,QueryVariant
@JsonpDeserializable public class WildcardQuery extends QueryBase implements QueryVariant
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWildcardQuery.BuilderBuilder forWildcardQuery.-
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<WildcardQuery>_DESERIALIZERJson deserializer forWildcardQuery
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Query.Kind_queryKind()Query variant kind.java.lang.BooleancaseInsensitive()Allows case insensitive matching of the pattern with the indexed field values when set to true.java.lang.Stringfield()Required - The target fieldstatic WildcardQueryof(java.util.function.Function<WildcardQuery.Builder,ObjectBuilder<WildcardQuery>> fn)java.lang.Stringrewrite()Method used to rewrite the queryprotected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupWildcardQueryDeserializer(ObjectDeserializer<WildcardQuery.Builder> op)java.lang.Stringvalue()Wildcard pattern for terms you wish to find in the provided field.java.lang.Stringwildcard()Wildcard pattern for terms you wish to find in the provided field.-
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.opensearch._types.query_dsl.QueryVariant
_toQuery
-
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<WildcardQuery> _DESERIALIZER
Json deserializer forWildcardQuery
-
-
Method Detail
-
of
public static WildcardQuery of(java.util.function.Function<WildcardQuery.Builder,ObjectBuilder<WildcardQuery>> fn)
-
_queryKind
public Query.Kind _queryKind()
Query variant kind.- Specified by:
_queryKindin interfaceQueryVariant
-
field
public final java.lang.String field()
Required - The target field
-
caseInsensitive
@Nullable public final java.lang.Boolean caseInsensitive()
Allows case insensitive matching of the pattern with the indexed field values when set to true. Default is false which means the case sensitivity of matching depends on the underlying field's mapping.API name:
case_insensitive
-
rewrite
@Nullable public final java.lang.String rewrite()
Method used to rewrite the queryAPI name:
rewrite
-
value
@Nullable public final java.lang.String value()
Wildcard pattern for terms you wish to find in the provided field. Required, when wildcard is not set.API name:
value
-
wildcard
@Nullable public final java.lang.String wildcard()
Wildcard pattern for terms you wish to find in the provided field. Required, when value is not set.API name:
wildcard
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)- Overrides:
serializeInternalin classQueryBase
-
setupWildcardQueryDeserializer
protected static void setupWildcardQueryDeserializer(ObjectDeserializer<WildcardQuery.Builder> op)
-
-