Struct parquet::arrow::array_reader::StructArrayReader [−][src]
pub struct StructArrayReader { /* fields omitted */ }
Expand description
Implementation of struct array reader.
Implementations
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