Struct arrow_json::reader::DecoderOptions
source · pub struct DecoderOptions { /* private fields */ }Expand description
Options for JSON decoding
Implementations§
source§impl DecoderOptions
impl DecoderOptions
sourcepub fn with_batch_size(self, batch_size: usize) -> Self
pub fn with_batch_size(self, batch_size: usize) -> Self
Set the batch size (number of records to load at one time)
sourcepub fn with_projection(self, projection: Vec<String>) -> Self
pub fn with_projection(self, projection: Vec<String>) -> Self
Set the reader’s column projection
sourcepub fn with_format_strings(self, format_strings: HashMap<String, String>) -> Self
pub fn with_format_strings(self, format_strings: HashMap<String, String>) -> Self
Set the decoder’s format Strings param
Trait Implementations§
source§impl Clone for DecoderOptions
impl Clone for DecoderOptions
source§fn clone(&self) -> DecoderOptions
fn clone(&self) -> DecoderOptions
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for DecoderOptions
impl Debug for DecoderOptions
source§impl Default for DecoderOptions
impl Default for DecoderOptions
source§impl PartialEq<DecoderOptions> for DecoderOptions
impl PartialEq<DecoderOptions> for DecoderOptions
source§fn eq(&self, other: &DecoderOptions) -> bool
fn eq(&self, other: &DecoderOptions) -> bool
impl Eq for DecoderOptions
impl StructuralEq for DecoderOptions
impl StructuralPartialEq for DecoderOptions
Auto Trait Implementations§
impl RefUnwindSafe for DecoderOptions
impl Send for DecoderOptions
impl Sync for DecoderOptions
impl Unpin for DecoderOptions
impl UnwindSafe for DecoderOptions
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more