[][src]Struct polars::frame::ser::json::JsonReader

pub struct JsonReader<R> where
    R: Read + Seek
{ /* fields omitted */ }

Implementations

impl<R> JsonReader<R> where
    R: Read + Seek
[src]

pub fn with_schema(self, schema: Arc<Schema>) -> Self[src]

Set the JSON file's schema

pub fn infer_schema(self, max_records: Option<usize>) -> Self[src]

Set the JSON reader to infer the schema of the file

pub fn with_batch_size(self, batch_size: usize) -> Self[src]

Set the batch size (number of records to load at one time)

pub fn with_projection(self, projection: Vec<String>) -> Self[src]

Set the reader's column projection

Trait Implementations

impl<R> SerReader<R> for JsonReader<R> where
    R: Read + Seek
[src]

Auto Trait Implementations

impl<R> RefUnwindSafe for JsonReader<R> where
    R: RefUnwindSafe

impl<R> Send for JsonReader<R> where
    R: Send

impl<R> Sync for JsonReader<R> where
    R: Sync

impl<R> Unpin for JsonReader<R> where
    R: Unpin

impl<R> UnwindSafe for JsonReader<R> where
    R: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,