public class ArrowDictionaryBatch extends Object implements ArrowMessage
ArrowMessage.ArrowMessageVisitor<T>
Constructor and Description |
---|
ArrowDictionaryBatch(long dictionaryId,
ArrowRecordBatch dictionary)
Deprecated.
|
ArrowDictionaryBatch(long dictionaryId,
ArrowRecordBatch dictionary,
boolean isDelta)
Constructs new instance.
|
Modifier and Type | Method and Description |
---|---|
<T> T |
accepts(ArrowMessage.ArrowMessageVisitor<T> visitor) |
void |
close() |
long |
computeBodyLength() |
ArrowRecordBatch |
getDictionary() |
long |
getDictionaryId() |
byte |
getMessageType()
Returns the flatbuffer enum value indicating the type of the message.
|
boolean |
isDelta() |
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.
|
@Deprecated public ArrowDictionaryBatch(long dictionaryId, ArrowRecordBatch dictionary)
public ArrowDictionaryBatch(long dictionaryId, ArrowRecordBatch dictionary, boolean isDelta)
public boolean isDelta()
public byte getMessageType()
ArrowMessage
getMessageType
in interface ArrowMessage
public long getDictionaryId()
public ArrowRecordBatch getDictionary()
public int writeTo(com.google.flatbuffers.FlatBufferBuilder builder)
FBSerializable
writeTo
in interface FBSerializable
public long computeBodyLength()
computeBodyLength
in interface ArrowMessage
public <T> T accepts(ArrowMessage.ArrowMessageVisitor<T> visitor)
accepts
in interface ArrowMessage
public void close()
close
in interface AutoCloseable
Copyright © 2024 The Apache Software Foundation. All rights reserved.