Class ArrowDictionaryBatch
java.lang.Object
org.apache.arrow.vector.ipc.message.ArrowDictionaryBatch
- All Implemented Interfaces:
AutoCloseable
,ArrowMessage
,FBSerializable
POJO wrapper around a Dictionary Batch IPC messages
(https://arrow.apache.org/docs/format/IPC.html#dictionary-batches)
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.arrow.vector.ipc.message.ArrowMessage
ArrowMessage.ArrowMessageVisitor<T>
-
Constructor Summary
ConstructorDescriptionArrowDictionaryBatch
(long dictionaryId, ArrowRecordBatch dictionary) Deprecated.ArrowDictionaryBatch
(long dictionaryId, ArrowRecordBatch dictionary, boolean isDelta) Constructs new instance. -
Method Summary
Modifier and TypeMethodDescription<T> T
accepts
(ArrowMessage.ArrowMessageVisitor<T> visitor) void
close()
long
long
byte
Returns the flatbuffer enum value indicating the type of the message.boolean
isDelta()
toString()
int
writeTo
(com.google.flatbuffers.FlatBufferBuilder builder) Returns the number of bytes taken to serialize the data in builder after writing to it.
-
Constructor Details
-
ArrowDictionaryBatch
Deprecated. -
ArrowDictionaryBatch
Constructs new instance.
-
-
Method Details
-
isDelta
public boolean isDelta() -
getMessageType
public byte getMessageType()Description copied from interface:ArrowMessage
Returns the flatbuffer enum value indicating the type of the message.- Specified by:
getMessageType
in interfaceArrowMessage
-
getDictionaryId
public long getDictionaryId() -
getDictionary
-
writeTo
public int writeTo(com.google.flatbuffers.FlatBufferBuilder builder) Description copied from interface:FBSerializable
Returns the number of bytes taken to serialize the data in builder after writing to it.- Specified by:
writeTo
in interfaceFBSerializable
-
computeBodyLength
public long computeBodyLength()- Specified by:
computeBodyLength
in interfaceArrowMessage
-
accepts
- Specified by:
accepts
in interfaceArrowMessage
-
toString
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-