Struct arrow_json::writer::LineDelimited
source · pub struct LineDelimited {}
Expand description
Produces JSON output with one record per line.
For example:
{"foo":1}
{"bar":1}
Trait Implementations§
source§impl Debug for LineDelimited
impl Debug for LineDelimited
source§impl Default for LineDelimited
impl Default for LineDelimited
source§fn default() -> LineDelimited
fn default() -> LineDelimited
Returns the “default value” for a type. Read more
source§impl JsonFormat for LineDelimited
impl JsonFormat for LineDelimited
source§fn end_row<W: Write>(&self, writer: &mut W) -> Result<(), ArrowError>
fn end_row<W: Write>(&self, writer: &mut W) -> Result<(), ArrowError>
write any bytes needed for the end of each row
source§fn start_stream<W: Write>(&self, _writer: &mut W) -> Result<(), ArrowError>
fn start_stream<W: Write>(&self, _writer: &mut W) -> Result<(), ArrowError>
write any bytes needed at the start of the file to the writer
source§fn start_row<W: Write>(
&self,
_writer: &mut W,
_is_first_row: bool,
) -> Result<(), ArrowError>
fn start_row<W: Write>( &self, _writer: &mut W, _is_first_row: bool, ) -> Result<(), ArrowError>
write any bytes needed for the start of each row
source§fn end_stream<W: Write>(&self, _writer: &mut W) -> Result<(), ArrowError>
fn end_stream<W: Write>(&self, _writer: &mut W) -> Result<(), ArrowError>
write any bytes needed for the start of each row
Auto Trait Implementations§
impl Freeze for LineDelimited
impl RefUnwindSafe for LineDelimited
impl Send for LineDelimited
impl Sync for LineDelimited
impl Unpin for LineDelimited
impl UnwindSafe for LineDelimited
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