| 75 | |
| 76 | template <typename T> |
| 77 | void TypedColumnBuffer::appendFixed(T value) { |
| 78 | values_.append(&value, sizeof(T)); |
| 79 | if (validity_initialized_) { |
| 80 | // Ensure bitmap has room for this row, then mark valid. |
| 81 | validity_.ensureSize(row_count_ + 1); |
| 82 | validity_.setValid(row_count_); |
| 83 | } |
| 84 | ++row_count_; |
| 85 | } |
| 86 | |
| 87 | template <typename T> |
| 88 | T TypedColumnBuffer::readFixed(std::size_t row) const { |
nothing calls this directly
no test coverage detected