| 518 | protected: |
| 519 | template <typename c_type> |
| 520 | Status AppendArraySliceImpl(const typename TypeTraits<T>::ArrayType& dict, |
| 521 | const ArraySpan& array, int64_t offset, int64_t length) { |
| 522 | const c_type* values = array.GetValues<c_type>(1) + offset; |
| 523 | return VisitBitBlocks( |
| 524 | array.buffers[0].data, array.offset + offset, length, |
| 525 | [&](const int64_t position) { |
| 526 | const int64_t index = static_cast<int64_t>(values[position]); |
| 527 | if (dict.IsValid(index)) { |
| 528 | return Append(dict.GetView(index)); |
| 529 | } |
| 530 | return AppendNull(); |
| 531 | }, |
| 532 | [&]() { return AppendNull(); }); |
| 533 | } |
| 534 | |
| 535 | template <typename IndexType> |
| 536 | Status AppendScalarImpl(const typename TypeTraits<T>::ArrayType& dict, |
nothing calls this directly
no test coverage detected