\brief Return a read-only version of the large-offsets buffer Only valid if this is a view into a large varbinary type
| 160 | /// |
| 161 | /// Only valid if this is a view into a large varbinary type |
| 162 | const uint64_t* large_offsets() const { |
| 163 | ARROW_DCHECK(!metadata_.is_fixed_length); |
| 164 | ARROW_DCHECK_EQ(metadata_.fixed_length, sizeof(uint64_t)); |
| 165 | return reinterpret_cast<const uint64_t*>(data(kFixedLengthBuffer)); |
| 166 | } |
| 167 | /// \brief Return the type metadata |
| 168 | const KeyColumnMetadata& metadata() const { return metadata_; } |
| 169 | /// \brief Return the length (in rows) of the array |