Get a mutable slice of the validity vector starting from `offset`.
(result: &mut DecodedColumn, offset: usize)
| 135 | |
| 136 | /// Get a mutable slice of the validity vector starting from `offset`. |
| 137 | pub(super) fn result_valid_slice_mut(result: &mut DecodedColumn, offset: usize) -> &mut [bool] { |
| 138 | match result { |
| 139 | DecodedColumn::Int64 { valid, .. } |
| 140 | | DecodedColumn::Float64 { valid, .. } |
| 141 | | DecodedColumn::Timestamp { valid, .. } |
| 142 | | DecodedColumn::Bool { valid, .. } |
| 143 | | DecodedColumn::Binary { valid, .. } |
| 144 | | DecodedColumn::DictEncoded { valid, .. } => &mut valid[offset..], |
| 145 | } |
| 146 | } |
| 147 | |
| 148 | /// Decode a single block and append results to the DecodedColumn. |
| 149 | pub(super) fn decode_block( |