java.lang.Object
co.elastic.clients.elasticsearch._types.query_dsl.IntervalsMatch
All Implemented Interfaces:
IntervalsQueryVariant, IntervalsVariant, JsonpSerializable

See Also:
  • Field Details

  • Method Details

    • of

    • _intervalsQueryKind

      public IntervalsQuery.Kind _intervalsQueryKind()
      IntervalsQuery variant kind.
      Specified by:
      _intervalsQueryKind in interface IntervalsQueryVariant
    • _intervalsKind

      public Intervals.Kind _intervalsKind()
      Intervals variant kind.
      Specified by:
      _intervalsKind in interface IntervalsVariant
    • analyzer

      @Nullable public final String analyzer()
      Analyzer used to analyze terms in the query.

      API name: analyzer

    • maxGaps

      @Nullable public final Integer maxGaps()
      Maximum number of positions between the matching terms. Terms further apart than this are not considered matches.

      API name: max_gaps

    • ordered

      @Nullable public final Boolean ordered()
      If true, matching terms must appear in their specified order.

      API name: ordered

    • query

      public final String query()
      Required - Text you wish to find in the provided field.

      API name: query

    • useField

      @Nullable public final String useField()
      If specified, match intervals from this field rather than the top-level field. The term is normalized using the search analyzer from this field, unless analyzer is specified separately.

      API name: use_field

    • filter

      @Nullable public final IntervalsFilter filter()
      An optional interval filter.

      API name: filter

    • serialize

      public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • setupIntervalsMatchDeserializer

      protected static void setupIntervalsMatchDeserializer(ObjectDeserializer<IntervalsMatch.Builder> op)