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,PlainJsonSerializable,QueryVariant,ToCopyableBuilder<WildcardQuery.Builder,WildcardQuery>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class WildcardQuery
extends QueryBase
implements QueryVariant, ToCopyableBuilder<WildcardQuery.Builder,WildcardQuery>
-
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<WildcardQuery> Json deserializer forWildcardQuery -
Method Summary
Modifier and TypeMethodDescriptionQueryvariant kind.static WildcardQuery.Builderbuilder()final BooleanAllows case insensitive matching of the pattern with the indexed field values when set totrue.booleanfinal Stringfield()Required - The target fieldinthashCode()static WildcardQueryfinal Stringrewrite()API name:rewriteprotected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.final Stringvalue()Wildcard pattern for terms you wish to find in the provided field.final 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, 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 forWildcardQuery
-
-
Method Details
-
of
-
_queryKind
Queryvariant kind.- Specified by:
_queryKindin interfaceQueryVariant
-
caseInsensitive
Allows case insensitive matching of the pattern with the indexed field values when set totrue. Default isfalsewhich means the case sensitivity of matching depends on the underlying field's mapping.API name:
case_insensitive -
field
Required - The target field -
rewrite
API name:rewrite -
value
Wildcard pattern for terms you wish to find in the provided field. Required, when wildcard is not set.API name:
value -
wildcard
Wildcard pattern for terms you wish to find in the provided field. Required, when value is not set.API name:
wildcard -
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<WildcardQuery.Builder,WildcardQuery> - Returns:
- a new builder instance.
-
builder
-
setupWildcardQueryDeserializer
-
hashCode
public int hashCode() -
equals
-