Write nulls as uint8_t* (0 value indicates null) into pre-allocated memory The memory at the corresponding data slot is set to 0 to prevent uninitialized memory access
| 110 | /// The memory at the corresponding data slot is set to 0 to prevent |
| 111 | /// uninitialized memory access |
| 112 | Status AppendNulls(int64_t length) final { |
| 113 | ARROW_RETURN_NOT_OK(Reserve(length)); |
| 114 | data_builder_.UnsafeAppend(length, value_type{}); // zero |
| 115 | UnsafeSetNull(length); |
| 116 | return Status::OK(); |
| 117 | } |
| 118 | |
| 119 | /// \brief Append a single null element |
| 120 | Status AppendNull() final { |
nothing calls this directly
no test coverage detected