| 76 | } |
| 77 | |
| 78 | Status BooleanBuilder::AppendValues(const uint8_t* values, int64_t length, |
| 79 | const uint8_t* valid_bytes) { |
| 80 | RETURN_NOT_OK(Reserve(length)); |
| 81 | |
| 82 | int64_t i = 0; |
| 83 | data_builder_.UnsafeAppend<false>(length, |
| 84 | [values, &i]() -> bool { return values[i++] != 0; }); |
| 85 | ArrayBuilder::UnsafeAppendToBitmap(valid_bytes, length); |
| 86 | return Status::OK(); |
| 87 | } |
| 88 | |
| 89 | Status BooleanBuilder::AppendValues(const uint8_t* values, int64_t length, |
| 90 | const uint8_t* validity, int64_t offset) { |
nothing calls this directly
no test coverage detected