Checks that the row with a given index has 0 in the null column or contains entries with the zero mask in given columns
(&self, row_index: usize, headers: &[String])
| 41 | } |
| 42 | // Checks that the row with a given index has 0 in the null column or contains entries with the zero mask in given columns |
| 43 | fn row_has_empty_entries(&self, row_index: usize, headers: &[String]) -> bool { |
| 44 | if self.null_column[row_index] == 0 { |
| 45 | return true; |
| 46 | } |
| 47 | if !self.has_column_masks() { |
| 48 | return false; |
| 49 | } |
| 50 | for h in headers { |
| 51 | if self.get_mask_entry(h, row_index) == 0 { |
| 52 | return true; |
| 53 | } |
| 54 | } |
| 55 | false |
| 56 | } |
| 57 | |
| 58 | // Merges given columns of the row with a given index. |
| 59 | fn get_flattened_row(&self, row_index: usize, headers: &[String]) -> Vec<u128> { |
no test coverage detected