Struct LineDelimited
pub struct LineDelimited {}Expand description
Produces JSON output with one record per line.
For example:
{"foo":1}
{"bar":1}
Trait Implementations§
§impl Debug for LineDelimited
impl Debug for LineDelimited
§impl Default for LineDelimited
impl Default for LineDelimited
§fn default() -> LineDelimited
fn default() -> LineDelimited
Returns the “default value” for a type. Read more
§impl JsonFormat for LineDelimited
impl JsonFormat for LineDelimited
§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
§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
§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
§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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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 more