All Implemented Interfaces:
QueryVariant, JsonpSerializable

public class RangeQuery
extends RangeQueryBase
implements QueryVariant
See Also:
API specification
  • Field Details

  • Method Details

    • of

      public static RangeQuery of​(java.util.function.Function<RangeQuery.Builder,​ObjectBuilder<RangeQuery>> fn)
    • _queryKind

      public Query.Kind _queryKind()
      Query variant kind.
      Specified by:
      _queryKind in interface QueryVariant
    • field

      public final java.lang.String field()
      Required - The target field
    • gt

      @Nullable public final JsonData gt()
      API name: gt
    • gte

      @Nullable public final JsonData gte()
      API name: gte
    • lt

      @Nullable public final JsonData lt()
      API name: lt
    • lte

      @Nullable public final JsonData lte()
      API name: lte
    • from

      @Nullable public final JsonData from()
      API name: from
    • to

      @Nullable public final JsonData to()
      API name: to
    • format

      @Nullable public final java.lang.String format()
      API name: format
    • timeZone

      @Nullable public final java.lang.String timeZone()
      API name: time_zone
    • serializeInternal

      protected void serializeInternal​( generator, JsonpMapper mapper)
      serializeInternal in class RangeQueryBase
    • setupRangeQueryDeserializer

      protected static void setupRangeQueryDeserializer​(ObjectDeserializer<RangeQuery.Builder> op)