| Package | Description |
|---|---|
| org.apache.arrow.vector.ipc | |
| org.apache.arrow.vector.ipc.message |
| Modifier and Type | Field and Description |
|---|---|
protected IpcOption |
ArrowWriter.option |
| Modifier and Type | Method and Description |
|---|---|
static void |
ArrowStreamWriter.writeEndOfStream(WriteChannel out,
IpcOption option)
Write an EOS identifier to the WriteChannel.
|
| Constructor and Description |
|---|
ArrowFileWriter(VectorSchemaRoot root,
DictionaryProvider provider,
WritableByteChannel out,
IpcOption option) |
ArrowFileWriter(VectorSchemaRoot root,
DictionaryProvider provider,
WritableByteChannel out,
Map<String,String> metaData,
IpcOption option) |
ArrowStreamWriter(VectorSchemaRoot root,
DictionaryProvider provider,
WritableByteChannel out,
IpcOption option)
Construct an ArrowStreamWriter with an optional DictionaryProvider for the WritableByteChannel.
|
ArrowWriter(VectorSchemaRoot root,
DictionaryProvider provider,
WritableByteChannel out,
IpcOption option)
Note: fields are not closed when the writer is closed.
|
| Modifier and Type | Field and Description |
|---|---|
static IpcOption |
IpcOption.DEFAULT |
| Modifier and Type | Method and Description |
|---|---|
static ArrowBlock |
MessageSerializer.serialize(WriteChannel out,
ArrowDictionaryBatch batch,
IpcOption option)
Serializes a dictionary ArrowRecordBatch.
|
static ArrowBlock |
MessageSerializer.serialize(WriteChannel out,
ArrowRecordBatch batch,
IpcOption option)
Serializes an ArrowRecordBatch.
|
static long |
MessageSerializer.serialize(WriteChannel out,
Schema schema,
IpcOption option)
Serialize a schema object.
|
static ByteBuffer |
MessageSerializer.serializeMessage(com.google.flatbuffers.FlatBufferBuilder builder,
byte headerType,
int headerOffset,
long bodyLength,
IpcOption writeOption)
Serializes a message header.
|
static ByteBuffer |
MessageSerializer.serializeMetadata(ArrowMessage message,
IpcOption writeOption)
Returns the serialized form of
RecordBatch wrapped in a Message. |
static ByteBuffer |
MessageSerializer.serializeMetadata(Schema schema,
IpcOption writeOption)
Returns the serialized flatbuffer bytes of the schema wrapped in a message table.
|
static int |
MessageSerializer.writeMessageBuffer(WriteChannel out,
int messageLength,
ByteBuffer messageBuffer,
IpcOption option)
Write the serialized Message metadata, prefixed by the length, to the output Channel.
|
Copyright © 2021 The Apache Software Foundation. All rights reserved.