Struct parquet::arrow::array_reader::StructArrayReader[][src]

pub struct StructArrayReader { /* fields omitted */ }
Expand description

Implementation of struct array reader.

Implementations

Construct struct array reader.

Trait Implementations

Returns data type. This must be a struct.

Read batch_size struct records.

Definition levels of struct array is calculated as following:

def_levels[i] = min(child1_def_levels[i], child2_def_levels[i], ...,
childn_def_levels[i]);

Repetition levels of struct array is calculated as following:

rep_levels[i] = child1_rep_levels[i];

The null bitmap of struct array is calculated from def_levels:

null_bitmap[i] = (def_levels[i] >= self.def_level);

Returns the definition levels of data from last call of next_batch. The result is used by parent array reader to calculate its own definition levels and repetition levels, so that its parent can calculate null bitmap. Read more

Return the repetition levels of data from last call of next_batch. The result is used by parent array reader to calculate its own definition levels and repetition levels, so that its parent can calculate null bitmap. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.