Class IntervalsFilter

java.lang.Object
co.elastic.clients.elasticsearch._types.query_dsl.IntervalsFilter
All Implemented Interfaces:
JsonpSerializable, TaggedUnion<java.lang.Object>

@JsonpDeserializable
public class IntervalsFilter
extends java.lang.Object
implements TaggedUnion<java.lang.Object>, JsonpSerializable
  • Field Details

  • Constructor Details

  • Method Details

    • _type

      public java.lang.String _type()
      Description copied from interface: TaggedUnion
      Get the of the type of the variant held by this union object.
      Specified by:
      _type in interface TaggedUnion<java.lang.Object>
      Returns:
      the variant type
    • _get

      public java.lang.Object _get()
      Specified by:
      _get in interface TaggedUnion<java.lang.Object>
    • after

      public Intervals after()
      Get the after variant value.
      Throws:
      java.lang.IllegalStateException - if the current variant is not of the after kind.
    • before

      public Intervals before()
      Get the before variant value.
      Throws:
      java.lang.IllegalStateException - if the current variant is not of the before kind.
    • containedBy

      public Intervals containedBy()
      Get the contained_by variant value.
      Throws:
      java.lang.IllegalStateException - if the current variant is not of the contained_by kind.
    • containing

      public Intervals containing()
      Get the containing variant value.
      Throws:
      java.lang.IllegalStateException - if the current variant is not of the containing kind.
    • notContainedBy

      public Intervals notContainedBy()
      Get the not_contained_by variant value.
      Throws:
      java.lang.IllegalStateException - if the current variant is not of the not_contained_by kind.
    • notContaining

      public Intervals notContaining()
      Get the not_containing variant value.
      Throws:
      java.lang.IllegalStateException - if the current variant is not of the not_containing kind.
    • notOverlapping

      public Intervals notOverlapping()
      Get the not_overlapping variant value.
      Throws:
      java.lang.IllegalStateException - if the current variant is not of the not_overlapping kind.
    • overlapping

      public Intervals overlapping()
      Get the overlapping variant value.
      Throws:
      java.lang.IllegalStateException - if the current variant is not of the overlapping kind.
    • script

      public jakarta.json.JsonValue script()
      Get the script variant value.
      Throws:
      java.lang.IllegalStateException - if the current variant is not of the script kind.
    • serialize

      public void serialize​(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
      Specified by:
      serialize in interface JsonpSerializable
    • setupIntervalsFilterDeserializer

      protected static void setupIntervalsFilterDeserializer​(DelegatingDeserializer<IntervalsFilter.Builder> op)