| 123 | UInt64Builder* range_lengths; |
| 124 | |
| 125 | Status VisitBitmap(const std::shared_ptr<Buffer>& buffer) const { |
| 126 | if (buffer) { |
| 127 | uint64_t data_start = reinterpret_cast<uint64_t>(buffer->data()); |
| 128 | RETURN_NOT_OK(range_starts->Append(data_start)); |
| 129 | RETURN_NOT_OK(range_offsets->Append(bit_util::RoundDown(offset, 8) / 8)); |
| 130 | RETURN_NOT_OK(range_lengths->Append(bit_util::CoveringBytes(offset, length))); |
| 131 | } |
| 132 | return Status::OK(); |
| 133 | } |
| 134 | |
| 135 | Status VisitFixedWidthArray(const Buffer& buffer, const FixedWidthType& type) const { |
| 136 | uint64_t data_start = reinterpret_cast<uint64_t>(buffer.data()); |
nothing calls this directly
no test coverage detected