public class ArrowDictionaryBatch extends Object implements ArrowMessage
ArrowMessage.ArrowMessageVisitor<T>| Constructor and Description |
|---|
ArrowDictionaryBatch(long dictionaryId,
ArrowRecordBatch dictionary) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
accepts(ArrowMessage.ArrowMessageVisitor<T> visitor) |
void |
close() |
int |
computeBodyLength() |
ArrowRecordBatch |
getDictionary() |
long |
getDictionaryId() |
byte |
getMessageType()
Returns the flatbuffer enum value indicating the type of the message.
|
String |
toString() |
int |
writeTo(com.google.flatbuffers.FlatBufferBuilder builder)
Returns the number of bytes taken to serialize the data in builder after writing to it.
|
public ArrowDictionaryBatch(long dictionaryId,
ArrowRecordBatch dictionary)
public byte getMessageType()
ArrowMessagegetMessageType in interface ArrowMessagepublic long getDictionaryId()
public ArrowRecordBatch getDictionary()
public int writeTo(com.google.flatbuffers.FlatBufferBuilder builder)
FBSerializablewriteTo in interface FBSerializablepublic int computeBodyLength()
computeBodyLength in interface ArrowMessagepublic <T> T accepts(ArrowMessage.ArrowMessageVisitor<T> visitor)
accepts in interface ArrowMessagepublic void close()
close in interface AutoCloseableCopyright © 2019 The Apache Software Foundation. All rights reserved.