| 321 | SEXP Allocate(R_xlen_t n) const { return Rf_allocVector(STRSXP, n); } |
| 322 | |
| 323 | Status Ingest_all_nulls(SEXP data, R_xlen_t start, R_xlen_t n) const { |
| 324 | for (R_xlen_t i = 0; i < n; i++) { |
| 325 | SET_STRING_ELT(data, i + start, NA_STRING); |
| 326 | } |
| 327 | return Status::OK(); |
| 328 | } |
| 329 | |
| 330 | Status Ingest_some_nulls(SEXP data, const std::shared_ptr<arrow::Array>& array, |
| 331 | R_xlen_t start, R_xlen_t n, size_t chunk_index) const { |