pub struct AvroOcfFormat {
sync_marker: [u8; 16],
}
Expand description
Avro Object Container File (OCF) format writer.
Fields§
§sync_marker: [u8; 16]
Trait Implementations§
Source§impl AvroFormat for AvroOcfFormat
impl AvroFormat for AvroOcfFormat
Source§const NEEDS_PREFIX: bool = false
const NEEDS_PREFIX: bool = false
If
true
, the writer for this format will query single_object_prefix()
and write the prefix before each record. If false
, the writer can
skip this step. This is a performance hint for the writer.Source§fn start_stream<W: Write>(
&mut self,
writer: &mut W,
schema: &Schema,
compression: Option<CompressionCodec>,
) -> Result<(), ArrowError>
fn start_stream<W: Write>( &mut self, writer: &mut W, schema: &Schema, compression: Option<CompressionCodec>, ) -> Result<(), ArrowError>
Write any bytes required at the very beginning of the output stream
(file header, etc.).
Implementations must not write any record data.
Source§impl Debug for AvroOcfFormat
impl Debug for AvroOcfFormat
Source§impl Default for AvroOcfFormat
impl Default for AvroOcfFormat
Source§fn default() -> AvroOcfFormat
fn default() -> AvroOcfFormat
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AvroOcfFormat
impl RefUnwindSafe for AvroOcfFormat
impl Send for AvroOcfFormat
impl Sync for AvroOcfFormat
impl Unpin for AvroOcfFormat
impl UnwindSafe for AvroOcfFormat
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