Class RangeQuery
java.lang.Object
co.elastic.clients.elasticsearch._types.query_dsl.QueryBase
co.elastic.clients.elasticsearch._types.query_dsl.RangeQueryBase
co.elastic.clients.elasticsearch._types.query_dsl.RangeQuery
- All Implemented Interfaces:
QueryVariant,ApiKeyQueryVariant,JsonpSerializable
@JsonpDeserializable
public class RangeQuery
extends RangeQueryBase
implements ApiKeyQueryVariant, QueryVariant
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.query_dsl.RangeQueryBase
RangeQueryBase.AbstractBuilder<BuilderT extends RangeQueryBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<RangeQuery>Json deserializer forRangeQuery -
Method Summary
Modifier and TypeMethodDescriptionApiKeyQuery variant kind.Query variant kind.final Stringfield()Required - The target fieldfinal Stringformat()Date format used to convertdatevalues in the query.final Stringfrom()API name:fromfinal JsonDatagt()Greater than.final JsonDatagte()Greater than or equal to.final JsonDatalt()Less than.final JsonDatalte()Less than or equal to.static RangeQueryprotected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal StringtimeZone()Coordinated Universal Time (UTC) offset or IANA time zone used to convertdatevalues in the query to UTC.final Stringto()API name:toMethods inherited from class co.elastic.clients.elasticsearch._types.query_dsl.RangeQueryBase
relation, setupRangeQueryBaseDeserializerMethods 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 forRangeQuery
-
-
Method Details
-
of
-
_apiKeyQueryKind
ApiKeyQuery variant kind.- Specified by:
_apiKeyQueryKindin interfaceApiKeyQueryVariant
-
_queryKind
Query variant kind.- Specified by:
_queryKindin interfaceQueryVariant
-
field
Required - The target field -
gt
Greater than.API name:
gt -
gte
Greater than or equal to.API name:
gte -
lt
Less than.API name:
lt -
lte
Less than or equal to.API name:
lte -
from
API name:from -
to
API name:to -
format
Date format used to convertdatevalues in the query.API name:
format -
timeZone
Coordinated Universal Time (UTC) offset or IANA time zone used to convertdatevalues in the query to UTC.API name:
time_zone -
serializeInternal
- Overrides:
serializeInternalin classRangeQueryBase
-
setupRangeQueryDeserializer
-