| 152 | } |
| 153 | |
| 154 | std::shared_ptr<Array> RunEndEncodedArray::LogicalValues() const { |
| 155 | const int64_t physical_offset = FindPhysicalOffset(); |
| 156 | const int64_t physical_length = FindPhysicalLength(); |
| 157 | return MakeArray(data()->child_data[1]->Slice(physical_offset, physical_length)); |
| 158 | } |
| 159 | |
| 160 | int64_t RunEndEncodedArray::FindPhysicalOffset() const { |
| 161 | const ArraySpan span(*this->data_); |
no test coverage detected