Class WildcardQuery
java.lang.Object
co.elastic.clients.elasticsearch._types.query_dsl.QueryBase
co.elastic.clients.elasticsearch._types.query_dsl.WildcardQuery
- All Implemented Interfaces:
QueryVariant,ApiKeyQueryVariant,JsonpSerializable
@JsonpDeserializable
public class WildcardQuery
extends QueryBase
implements ApiKeyQueryVariant, QueryVariant
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._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 TypeMethodDescriptionApiKeyQuery variant kind.Query variant kind.final BooleanAllows case insensitive matching of the pattern with the indexed field values when set to true.final Stringfield()Required - The target fieldstatic WildcardQueryfinal Stringrewrite()Method used to rewrite the query.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal 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 co.elastic.clients.elasticsearch._types.query_dsl.QueryBase
boost, queryName, serialize, setupQueryBaseDeserializer, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface co.elastic.clients.elasticsearch.security.query_api_keys.ApiKeyQueryVariant
_toApiKeyQueryMethods inherited from interface co.elastic.clients.elasticsearch._types.query_dsl.QueryVariant
_toQuery
-
Field Details
-
_DESERIALIZER
Json deserializer forWildcardQuery
-
-
Method Details
-
of
-
_apiKeyQueryKind
ApiKeyQuery variant kind.- Specified by:
_apiKeyQueryKindin interfaceApiKeyQueryVariant
-
_queryKind
Query variant kind.- Specified by:
_queryKindin interfaceQueryVariant
-
field
Required - The target field -
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
Method used to rewrite the query.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
-
setupWildcardQueryDeserializer
-