| 220 | using c_type = BinaryViewType::c_type; |
| 221 | |
| 222 | explicit BinaryViewArray(std::shared_ptr<ArrayData> data); |
| 223 | |
| 224 | BinaryViewArray(std::shared_ptr<DataType> type, int64_t length, |
| 225 | std::shared_ptr<Buffer> views, BufferVector data_buffers, |
| 226 | std::shared_ptr<Buffer> null_bitmap = NULLPTR, |
| 227 | int64_t null_count = kUnknownNullCount, int64_t offset = 0); |
| 228 | |
| 229 | // For API compatibility with BinaryArray etc. |
| 230 | std::string_view GetView(int64_t i) const; |
| 231 | std::string GetString(int64_t i) const { return std::string{GetView(i)}; } |
| 232 | |
| 233 | const auto& values() const { return data_->buffers[1]; } |
| 234 | const c_type* raw_values() const { return raw_values_; } |