Expand description
Utilities for converting between IPC types and native Arrow types
Re-exportsยง
use arrow_buffer::Buffer;๐use core::panic;๐use core::panic;๐use flatbuffers::FlatBufferBuilder;๐use flatbuffers::ForwardsUOffset;๐use flatbuffers::UnionWIPOffset;๐use flatbuffers::Vector;๐use flatbuffers::Verifiable;๐use flatbuffers::Verifier;๐use flatbuffers::VerifierOptions;๐use flatbuffers::WIPOffset;๐use std::collections::HashMap;๐use std::fmt::Debug;๐use std::fmt::Debug;๐use std::fmt::Formatter;๐use std::sync::Arc;๐use crate::writer::DictionaryTracker;๐use crate::CONTINUATION_MARKER;๐use crate::KeyValue;๐use crate::Message;๐use arrow_schema::*;๐use DataType::*;๐
Structsยง
- FBField
Type ๐ - IpcSchema
Encoder - Low level Arrow [Schema] to IPC bytes converter
- Message
Buffer - An owned container for a validated
Message
Functionsยง
- build_
field ๐ - Create an IPC Field from an Arrow Field
- fb_
to_ schema Deprecated - Deserialize an ipc
crate::Schemafrom flat buffers to an arrow [Schema]. - get_
data_ ๐type - Get the Arrow data type from the flatbuffer Field table
- get_
fb_ ๐dictionary - Create an IPC dictionary encoding
- get_
fb_ ๐field_ type - Get the IPC type of a data type
- metadata_
to_ fb - Push a key-value metadata into a FlatBufferBuilder and return [WIPOffset]
- schema_
to_ fb_ offset - Adds a [Schema] to a flatbuffer and returns the offset
- single_
child ๐ - Return the single child of a flatbuffer Field, erroring if it does not have exactly one.
- try_
fb_ to_ schema - Deserialize an ipc
crate::Schemafrom flat buffers to an arrow [Schema]. - try_
field_ ๐from - Convert an IPC Field to Arrow Field
- try_
schema_ from_ flatbuffer_ bytes - Try deserialize flat buffer format bytes into a schema
- try_
schema_ from_ ipc_ buffer - Try deserialize the IPC format bytes into a schema