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>(&self, writer: &mut W) -> Result<(), ArrowError>where
W: Write,
fn end_row<W>(&self, writer: &mut W) -> Result<(), ArrowError>where
W: Write,
write any bytes needed for the end of each row
source§fn start_stream<W>(&self, _writer: &mut W) -> Result<(), ArrowError>where
W: Write,
fn start_stream<W>(&self, _writer: &mut W) -> Result<(), ArrowError>where
W: Write,
write any bytes needed at the start of the file to the writer
source§fn start_row<W>(
&self,
_writer: &mut W,
_is_first_row: bool
) -> Result<(), ArrowError>where
W: Write,
fn start_row<W>(
&self,
_writer: &mut W,
_is_first_row: bool
) -> Result<(), ArrowError>where
W: Write,
write any bytes needed for the start of each row
source§fn end_stream<W>(&self, _writer: &mut W) -> Result<(), ArrowError>where
W: Write,
fn end_stream<W>(&self, _writer: &mut W) -> Result<(), ArrowError>where
W: Write,
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.