Class Intervals
java.lang.Object
co.elastic.clients.elasticsearch._types.query_dsl.Intervals
- All Implemented Interfaces:
JsonpSerializable,TaggedUnion<java.lang.Object>
@JsonpDeserializable public class Intervals extends java.lang.Object implements TaggedUnion<java.lang.Object>, JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIntervals.Builder -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<Intervals>_DESERIALIZERstatic java.lang.StringALL_OFstatic java.lang.StringANY_OFstatic java.lang.StringFUZZYstatic java.lang.StringMATCHstatic java.lang.StringPREFIXstatic java.lang.StringWILDCARD -
Constructor Summary
Constructors Constructor Description Intervals(IntervalsVariant value)Intervals(ObjectBuilder<T> builder)Intervals(java.util.function.Function<Intervals.Builder,Intervals.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.IntervalsAllOfallOf()Get theall_ofvariant value.IntervalsAnyOfanyOf()Get theany_ofvariant value.IntervalsFuzzyfuzzy()Get thefuzzyvariant value.IntervalsMatchmatch()Get thematchvariant value.IntervalsPrefixprefix()Get theprefixvariant value.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupIntervalsDeserializer(DelegatingDeserializer<Intervals.Builder> op)IntervalsWildcardwildcard()Get thewildcardvariant value.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
-
ALL_OF
public static final java.lang.String ALL_OF- See Also:
- Constant Field Values
-
ANY_OF
public static final java.lang.String ANY_OF- See Also:
- Constant Field Values
-
FUZZY
public static final java.lang.String FUZZY- See Also:
- Constant Field Values
-
MATCH
public static final java.lang.String MATCH- See Also:
- Constant Field Values
-
PREFIX
public static final java.lang.String PREFIX- See Also:
- Constant Field Values
-
WILDCARD
public static final java.lang.String WILDCARD- See Also:
- Constant Field Values
-
_DESERIALIZER
-
-
Constructor Details
-
Intervals
-
Intervals
-
Intervals
-
-
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>
-
allOf
Get theall_ofvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of theall_ofkind.
-
anyOf
Get theany_ofvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of theany_ofkind.
-
fuzzy
Get thefuzzyvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thefuzzykind.
-
match
Get thematchvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thematchkind.
-
prefix
Get theprefixvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of theprefixkind.
-
wildcard
Get thewildcardvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thewildcardkind.
-
serialize
- Specified by:
serializein interfaceJsonpSerializable
-
setupIntervalsDeserializer
-