Method
push_valid
(valid: &mut Option<Vec<bool>>, is_valid: bool)
Source from the content-addressed store, hash-verified
| 125 | /// Push a validity bit (if the column is nullable). |
| 126 | #[inline(always)] |
| 127 | pub(crate) fn push_valid(valid: &mut Option<Vec<bool>>, is_valid: bool) { |
| 128 | if let Some(v) = valid { |
| 129 | v.push(is_valid); |
| 130 | } |
| 131 | } |
| 132 | |
| 133 | /// Append a value. Returns error if type doesn't match. |
| 134 | pub(crate) fn push(&mut self, value: &Value, col_name: &str) -> Result<(), ColumnarError> { |
Callers
nothing calls this directly
Tested by
no test coverage detected