| 470 | /// construct a builder of statically defined kind |
| 471 | template <Kind::type kind> |
| 472 | Status MakeBuilder(int64_t leading_nulls, BuilderPtr* builder) { |
| 473 | builder->index = static_cast<uint32_t>(arena<kind>().size()); |
| 474 | builder->kind = kind; |
| 475 | builder->nullable = true; |
| 476 | arena<kind>().emplace_back(RawArrayBuilder<kind>(&context_)); |
| 477 | return Cast<kind>(*builder)->AppendNull(leading_nulls); |
| 478 | } |
| 479 | |
| 480 | /// construct a builder of whatever kind corresponds to a DataType |
| 481 | Status MakeBuilder(const DataType& t, int64_t leading_nulls, BuilderPtr* builder) { |
no test coverage detected