| 695 | } |
| 696 | |
| 697 | bool ArraySpan::IsNullSparseUnion(int64_t i) const { |
| 698 | auto* union_type = checked_cast<const SparseUnionType*>(this->type); |
| 699 | const auto* types = reinterpret_cast<const int8_t*>(this->buffers[1].data); |
| 700 | const int child_id = union_type->child_ids()[types[this->offset + i]]; |
| 701 | return this->child_data[child_id].IsNull(this->offset + i); |
| 702 | } |
| 703 | |
| 704 | bool ArraySpan::IsNullDenseUnion(int64_t i) const { |
| 705 | auto* union_type = checked_cast<const DenseUnionType*>(this->type); |