Class RangeQuery
java.lang.Object
org.opensearch.client.opensearch._types.query_dsl.RangeQuery
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,QueryVariant,ToCopyableBuilder<RangeQuery.Builder,RangeQuery>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class RangeQuery
extends Object
implements QueryVariant, PlainJsonSerializable, ToCopyableBuilder<RangeQuery.Builder,RangeQuery>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<RangeQuery> Json deserializer forRangeQuery -
Method Summary
Modifier and TypeMethodDescriptionQueryvariant kind.final Floatboost()API name:booststatic RangeQuery.Builderbuilder()booleanfinal Stringfield()Required - The target fieldfinal Stringformat()API name:formatfinal JsonDatafrom()API name:fromfinal JsonDatagt()API name:gtfinal JsonDatagte()API name:gteinthashCode()final JsonDatalt()API name:ltfinal JsonDatalte()API name:ltefinal Stringname()API name:_namestatic RangeQueryfinal Stringrelation()API name:relationvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal StringtimeZone()API name:time_zonefinal JsonDatato()API name:toCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods 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 forRangeQuery
-
-
Method Details
-
of
-
_queryKind
Queryvariant kind.- Specified by:
_queryKindin interfaceQueryVariant
-
boost
API name:boost -
field
Required - The target field -
format
API name:format -
from
API name:from -
gt
API name:gt -
gte
API name:gte -
lt
API name:lt -
lte
API name:lte -
name
API name:_name -
relation
API name:relation -
timeZone
API name:time_zone -
to
API name:to -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<RangeQuery.Builder,RangeQuery> - Returns:
- a new builder instance.
-
builder
-
setupRangeQueryDeserializer
-
hashCode
public int hashCode() -
equals
-