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
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
IntervalsFilter.Builder
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<IntervalsFilter>
_DESERIALIZER
static java.lang.String
AFTER
static java.lang.String
BEFORE
static java.lang.String
CONTAINED_BY
static java.lang.String
CONTAINING
static java.lang.String
NOT_CONTAINED_BY
static java.lang.String
NOT_CONTAINING
static java.lang.String
NOT_OVERLAPPING
static java.lang.String
OVERLAPPING
static java.lang.String
SCRIPT
-
Constructor Summary
Constructors Constructor Description IntervalsFilter(IntervalsFilterVariant value)
IntervalsFilter(ObjectBuilder<T> builder)
IntervalsFilter(java.util.function.Function<IntervalsFilter.Builder,IntervalsFilter.Builder> fn)
-
Method Summary
Modifier and Type Method Description java.lang.Object
_get()
java.lang.String
_type()
Get the of the type of the variant held by this union object.Intervals
after()
Get theafter
variant value.Intervals
before()
Get thebefore
variant value.Intervals
containedBy()
Get thecontained_by
variant value.Intervals
containing()
Get thecontaining
variant value.Intervals
notContainedBy()
Get thenot_contained_by
variant value.Intervals
notContaining()
Get thenot_containing
variant value.Intervals
notOverlapping()
Get thenot_overlapping
variant value.Intervals
overlapping()
Get theoverlapping
variant value.jakarta.json.JsonValue
script()
Get thescript
variant value.void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupIntervalsFilterDeserializer(DelegatingDeserializer<IntervalsFilter.Builder> op)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface co.elastic.clients.util.TaggedUnion
_is
-
Field Details
-
AFTER
public static final java.lang.String AFTER- See Also:
- Constant Field Values
-
BEFORE
public static final java.lang.String BEFORE- See Also:
- Constant Field Values
-
CONTAINED_BY
public static final java.lang.String CONTAINED_BY- See Also:
- Constant Field Values
-
CONTAINING
public static final java.lang.String CONTAINING- See Also:
- Constant Field Values
-
NOT_CONTAINED_BY
public static final java.lang.String NOT_CONTAINED_BY- See Also:
- Constant Field Values
-
NOT_CONTAINING
public static final java.lang.String NOT_CONTAINING- See Also:
- Constant Field Values
-
NOT_OVERLAPPING
public static final java.lang.String NOT_OVERLAPPING- See Also:
- Constant Field Values
-
OVERLAPPING
public static final java.lang.String OVERLAPPING- See Also:
- Constant Field Values
-
SCRIPT
public static final java.lang.String SCRIPT- See Also:
- Constant Field Values
-
_DESERIALIZER
-
-
Constructor Details
-
IntervalsFilter
-
IntervalsFilter
-
IntervalsFilter
public IntervalsFilter(java.util.function.Function<IntervalsFilter.Builder,IntervalsFilter.Builder> fn)
-
-
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 interfaceTaggedUnion<java.lang.Object>
- Returns:
- the variant type
-
_get
public java.lang.Object _get()- Specified by:
_get
in interfaceTaggedUnion<java.lang.Object>
-
after
Get theafter
variant value.- Throws:
java.lang.IllegalStateException
- if the current variant is not of theafter
kind.
-
before
Get thebefore
variant value.- Throws:
java.lang.IllegalStateException
- if the current variant is not of thebefore
kind.
-
containedBy
Get thecontained_by
variant value.- Throws:
java.lang.IllegalStateException
- if the current variant is not of thecontained_by
kind.
-
containing
Get thecontaining
variant value.- Throws:
java.lang.IllegalStateException
- if the current variant is not of thecontaining
kind.
-
notContainedBy
Get thenot_contained_by
variant value.- Throws:
java.lang.IllegalStateException
- if the current variant is not of thenot_contained_by
kind.
-
notContaining
Get thenot_containing
variant value.- Throws:
java.lang.IllegalStateException
- if the current variant is not of thenot_containing
kind.
-
notOverlapping
Get thenot_overlapping
variant value.- Throws:
java.lang.IllegalStateException
- if the current variant is not of thenot_overlapping
kind.
-
overlapping
Get theoverlapping
variant value.- Throws:
java.lang.IllegalStateException
- if the current variant is not of theoverlapping
kind.
-
script
public jakarta.json.JsonValue script()Get thescript
variant value.- Throws:
java.lang.IllegalStateException
- if the current variant is not of thescript
kind.
-
serialize
- Specified by:
serialize
in interfaceJsonpSerializable
-
setupIntervalsFilterDeserializer
protected static void setupIntervalsFilterDeserializer(DelegatingDeserializer<IntervalsFilter.Builder> op)
-