| 147 | } |
| 148 | |
| 149 | Status Visit(const FixedWidthType& type) const { |
| 150 | static_assert(sizeof(uint8_t*) <= sizeof(uint64_t), |
| 151 | "Undefined behavior if pointer larger than uint64_t"); |
| 152 | RETURN_NOT_OK(VisitBitmap(input.buffers[0])); |
| 153 | RETURN_NOT_OK(VisitFixedWidthArray(*input.buffers[1], type)); |
| 154 | if (input.dictionary) { |
| 155 | // This is slightly imprecise because we always assume the entire dictionary is |
| 156 | // referenced. If this array has an offset it may only be referencing a portion of |
| 157 | // the dictionary |
| 158 | GetByteRangesArray dict_visitor{*input.dictionary, |
| 159 | input.dictionary->offset, |
| 160 | input.dictionary->length, |
| 161 | range_starts, |
| 162 | range_offsets, |
| 163 | range_lengths}; |
| 164 | return VisitTypeInline(*input.dictionary->type, &dict_visitor); |
| 165 | } |
| 166 | return Status::OK(); |
| 167 | } |
| 168 | |
| 169 | Status Visit(const NullType& type) const { return Status::OK(); } |
| 170 |
nothing calls this directly
no test coverage detected