Class PrefixQuery
java.lang.Object
co.elastic.clients.elasticsearch._types.query_dsl.QueryBase
co.elastic.clients.elasticsearch._types.query_dsl.PrefixQuery
- All Implemented Interfaces:
QueryVariant,ApiKeyQueryVariant,JsonpSerializable
@JsonpDeserializable
public class PrefixQuery
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<PrefixQuery>Json deserializer forPrefixQuery -
Method Summary
Modifier and TypeMethodDescriptionApiKeyQuery variant kind.Query variant kind.final BooleanAllows ASCII case insensitive matching of the value with the indexed field values when set totrue.final Stringfield()Required - The target fieldstatic PrefixQueryfinal Stringrewrite()Method used to rewrite the query.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal Stringvalue()Required - Beginning characters of 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 forPrefixQuery
-
-
Method Details
-
of
-
_apiKeyQueryKind
ApiKeyQuery variant kind.- Specified by:
_apiKeyQueryKindin interfaceApiKeyQueryVariant
-
_queryKind
Query variant kind.- Specified by:
_queryKindin interfaceQueryVariant
-
field
Required - The target field -
rewrite
Method used to rewrite the query.API name:
rewrite -
value
Required - Beginning characters of terms you wish to find in the provided field.API name:
value -
caseInsensitive
Allows ASCII case insensitive matching of the value 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 -
serializeInternal
- Overrides:
serializeInternalin classQueryBase
-
setupPrefixQueryDeserializer
-