| 38 | /// \brief Get a pointer to run ends values of an REE array |
| 39 | template <typename RunEndCType> |
| 40 | const RunEndCType* RunEnds(const ArraySpan& span) { |
| 41 | assert(RunEndsArray(span).type->id() == CTypeTraits<RunEndCType>::ArrowType::type_id); |
| 42 | return RunEndsArray(span).GetValues<RunEndCType>(1); |
| 43 | } |
| 44 | |
| 45 | /// \brief Perform basic validations on the parameters of an REE array |
| 46 | /// and its two children arrays |