Class TableValues
java.lang.Object
co.elastic.clients.elasticsearch.esql.TableValues
- All Implemented Interfaces:
JsonpSerializable,TaggedUnion<TableValues.Kind,Object>
@JsonpDeserializable
public class TableValues
extends Object
implements TaggedUnion<TableValues.Kind,Object>, JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal Object_get()final TableValues.Kind_kind()Get the of the kind of variant held by this object.double_()Get thedoublevariant value.integer()Get theintegervariant value.booleanisDouble()Is this variant instance of kinddouble?booleanIs this variant instance of kindinteger?booleanIs this variant instance of kindkeyword?booleanisLong()Is this variant instance of kindlong?keyword()Get thekeywordvariant value.long_()Get thelongvariant value.static TableValuesvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidtoString()
-
Field Details
-
_DESERIALIZER
-
-
Constructor Details
-
TableValues
-
-
Method Details
-
_kind
Description copied from interface:TaggedUnionGet the of the kind of variant held by this object.- Specified by:
_kindin interfaceTaggedUnion<TableValues.Kind,Object> - Returns:
- the variant kind
-
_get
- Specified by:
_getin interfaceTaggedUnion<TableValues.Kind,Object>
-
of
-
isInteger
public boolean isInteger()Is this variant instance of kindinteger? -
integer
Get theintegervariant value.- Throws:
IllegalStateException- if the current variant is not of theintegerkind.
-
isKeyword
public boolean isKeyword()Is this variant instance of kindkeyword? -
keyword
Get thekeywordvariant value.- Throws:
IllegalStateException- if the current variant is not of thekeywordkind.
-
isLong
public boolean isLong()Is this variant instance of kindlong? -
long_
Get thelongvariant value.- Throws:
IllegalStateException- if the current variant is not of thelongkind.
-
isDouble
public boolean isDouble()Is this variant instance of kinddouble? -
double_
Get thedoublevariant value.- Throws:
IllegalStateException- if the current variant is not of thedoublekind.
-
serialize
- Specified by:
serializein interfaceJsonpSerializable
-
toString
-
setupTableValuesDeserializer
-