Enum Class JsDataHandler
- All Implemented Interfaces:
Serializable
,Comparable<JsDataHandler>
,java.lang.constant.Constable
Given the expected type of a column, pick one of the enum entries and use that to read the data into arrow buffers.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic JsDataHandler
getHandler
(String deephavenType) byte
typeType()
static JsDataHandler
Returns the enum constant of this class with the specified name.static JsDataHandler[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.void
write
(Object[] data, JsDataHandler.ParseContext context, JsConsumer<JsDataHandler.Node> addNode, JsConsumer<elemental2.core.Uint8Array> addBuffer) abstract int
writeType
(com.google.flatbuffers.FlatBufferBuilder builder)
-
Enum Constant Details
-
STRING
-
DATE_TIME
-
INTEGER
-
SHORT
-
LONG
-
BYTE
-
CHAR
-
FLOAT
-
DOUBLE
-
BOOLEAN
-
BIG_DECIMAL
-
BIG_INTEGER
-
LOCAL_DATE
-
LOCAL_TIME
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getHandler
-
typeType
public byte typeType() -
deephavenType
-
writeType
public abstract int writeType(com.google.flatbuffers.FlatBufferBuilder builder)
-