| 493 | using value_type = bool; |
| 494 | |
| 495 | explicit BooleanBuilder(MemoryPool* pool = default_memory_pool(), |
| 496 | int64_t alignment = kDefaultBufferAlignment); |
| 497 | |
| 498 | BooleanBuilder(const std::shared_ptr<DataType>& type, |
| 499 | MemoryPool* pool = default_memory_pool(), |
| 500 | int64_t alignment = kDefaultBufferAlignment); |
| 501 | |
| 502 | /// Write nulls as uint8_t* (0 value indicates null) into pre-allocated memory |
| 503 | Status AppendNulls(int64_t length) final { |
| 504 | ARROW_RETURN_NOT_OK(Reserve(length)); |
| 505 | data_builder_.UnsafeAppend(length, false); |
| 506 | UnsafeSetNull(length); |
| 507 | return Status::OK(); |
| 508 | } |
| 509 | |
| 510 | Status AppendNull() final { |
| 511 | ARROW_RETURN_NOT_OK(Reserve(1)); |
no test coverage detected