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 classIntervalsFilter.Builder -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<IntervalsFilter>_DESERIALIZERstatic java.lang.StringAFTERstatic java.lang.StringBEFOREstatic java.lang.StringCONTAINED_BYstatic java.lang.StringCONTAININGstatic java.lang.StringNOT_CONTAINED_BYstatic java.lang.StringNOT_CONTAININGstatic java.lang.StringNOT_OVERLAPPINGstatic java.lang.StringOVERLAPPINGstatic java.lang.StringSCRIPT -
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.Intervalsafter()Get theaftervariant value.Intervalsbefore()Get thebeforevariant value.IntervalscontainedBy()Get thecontained_byvariant value.Intervalscontaining()Get thecontainingvariant value.IntervalsnotContainedBy()Get thenot_contained_byvariant value.IntervalsnotContaining()Get thenot_containingvariant value.IntervalsnotOverlapping()Get thenot_overlappingvariant value.Intervalsoverlapping()Get theoverlappingvariant value.jakarta.json.JsonValuescript()Get thescriptvariant value.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupIntervalsFilterDeserializer(DelegatingDeserializer<IntervalsFilter.Builder> op)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:TaggedUnionGet the of the type of the variant held by this union object.- Specified by:
_typein interfaceTaggedUnion<java.lang.Object>- Returns:
- the variant type
-
_get
public java.lang.Object _get()- Specified by:
_getin interfaceTaggedUnion<java.lang.Object>
-
after
Get theaftervariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of theafterkind.
-
before
Get thebeforevariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thebeforekind.
-
containedBy
Get thecontained_byvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thecontained_bykind.
-
containing
Get thecontainingvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thecontainingkind.
-
notContainedBy
Get thenot_contained_byvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thenot_contained_bykind.
-
notContaining
Get thenot_containingvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thenot_containingkind.
-
notOverlapping
Get thenot_overlappingvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thenot_overlappingkind.
-
overlapping
Get theoverlappingvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of theoverlappingkind.
-
script
public jakarta.json.JsonValue script()Get thescriptvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thescriptkind.
-
serialize
- Specified by:
serializein interfaceJsonpSerializable
-
setupIntervalsFilterDeserializer
protected static void setupIntervalsFilterDeserializer(DelegatingDeserializer<IntervalsFilter.Builder> op)
-