| 89 | Result<std::shared_ptr<RecordBatch>> RecordBatchBuilder::Flush() { return Flush(true); } |
| 90 | |
| 91 | void RecordBatchBuilder::SetInitialCapacity(int64_t capacity) { |
| 92 | ARROW_CHECK_GT(capacity, 0) << "Initial capacity must be positive"; |
| 93 | initial_capacity_ = capacity; |
| 94 | } |
| 95 | |
| 96 | Status RecordBatchBuilder::CreateBuilders() { |
| 97 | field_builders_.resize(this->num_fields()); |
no outgoing calls