| 343 | std::unique_ptr<ArrayBuilder>* out); |
| 344 | |
| 345 | inline Result<std::unique_ptr<ArrayBuilder>> MakeBuilderExactIndex( |
| 346 | const std::shared_ptr<DataType>& type, MemoryPool* pool = default_memory_pool()) { |
| 347 | std::unique_ptr<ArrayBuilder> out; |
| 348 | ARROW_RETURN_NOT_OK(MakeBuilderExactIndex(pool, type, &out)); |
| 349 | return out; |
| 350 | } |
| 351 | |
| 352 | /// \brief Construct an empty DictionaryBuilder initialized optionally |
| 353 | /// with a preexisting dictionary |