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 thedouble
variant value.integer()
Get theinteger
variant value.boolean
isDouble()
Is this variant instance of kinddouble
?boolean
Is this variant instance of kindinteger
?boolean
Is this variant instance of kindkeyword
?boolean
isLong()
Is this variant instance of kindlong
?keyword()
Get thekeyword
variant value.long_()
Get thelong
variant value.static TableValues
void
serialize
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static void
toString()
-
Field Details
-
_DESERIALIZER
-
-
Constructor Details
-
TableValues
-
-
Method Details
-
_kind
Description copied from interface:TaggedUnion
Get the of the kind of variant held by this object.- Specified by:
_kind
in interfaceTaggedUnion<TableValues.Kind,
Object> - Returns:
- the variant kind
-
_get
- Specified by:
_get
in interfaceTaggedUnion<TableValues.Kind,
Object>
-
of
-
isInteger
public boolean isInteger()Is this variant instance of kindinteger
? -
integer
Get theinteger
variant value.- Throws:
IllegalStateException
- if the current variant is not of theinteger
kind.
-
isKeyword
public boolean isKeyword()Is this variant instance of kindkeyword
? -
keyword
Get thekeyword
variant value.- Throws:
IllegalStateException
- if the current variant is not of thekeyword
kind.
-
isLong
public boolean isLong()Is this variant instance of kindlong
? -
long_
Get thelong
variant value.- Throws:
IllegalStateException
- if the current variant is not of thelong
kind.
-
isDouble
public boolean isDouble()Is this variant instance of kinddouble
? -
double_
Get thedouble
variant value.- Throws:
IllegalStateException
- if the current variant is not of thedouble
kind.
-
serialize
- Specified by:
serialize
in interfaceJsonpSerializable
-
toString
-
setupTableValuesDeserializer
-