pub struct ArrowIpcEncoder { /* private fields */ }Expand description
Arrow IPC Encoder
Implementations§
Source§impl ArrowIpcEncoder
impl ArrowIpcEncoder
pub fn new(options: ArrowIpcEncoderOptions) -> Self
Trait Implementations§
Source§impl Debug for ArrowIpcEncoder
impl Debug for ArrowIpcEncoder
Source§impl Default for ArrowIpcEncoder
impl Default for ArrowIpcEncoder
Source§fn default() -> ArrowIpcEncoder
fn default() -> ArrowIpcEncoder
Returns the “default value” for a type. Read more
Source§impl Encoder for ArrowIpcEncoder
impl Encoder for ArrowIpcEncoder
Source§fn encode(&self, batch: &EventBatch) -> EncodeResult<Bytes>
fn encode(&self, batch: &EventBatch) -> EncodeResult<Bytes>
Encodes a single
EventBatch into a single byte stream.
This is typically used for batch-oriented sinks like S3 or GCS.§fn encode_individual(&self, batch: &EventBatch) -> Result<Vec<Bytes>, Error>
fn encode_individual(&self, batch: &EventBatch) -> Result<Vec<Bytes>, Error>
Encodes an
EventBatch into multiple independent byte streams (one per event).
This is typically used for message-oriented sinks like Kafka.
Default implementation just returns a single Vec with the output of encode.Auto Trait Implementations§
impl Freeze for ArrowIpcEncoder
impl RefUnwindSafe for ArrowIpcEncoder
impl Send for ArrowIpcEncoder
impl Sync for ArrowIpcEncoder
impl Unpin for ArrowIpcEncoder
impl UnsafeUnpin for ArrowIpcEncoder
impl UnwindSafe for ArrowIpcEncoder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more