| 777 | } |
| 778 | |
| 779 | Status Ingest_all_nulls(SEXP data, R_xlen_t start, R_xlen_t n) const { |
| 780 | int nf = static_cast<int>(converters.size()); |
| 781 | for (int i = 0; i < nf; i++) { |
| 782 | SEXP data_i = VECTOR_ELT(data, i); |
| 783 | |
| 784 | // only ingest if the column is not altrep |
| 785 | if (!altrep::is_unmaterialized_arrow_altrep(data_i)) { |
| 786 | StopIfNotOk(converters[i]->Ingest_all_nulls(data_i, start, n)); |
| 787 | } |
| 788 | } |
| 789 | return Status::OK(); |
| 790 | } |
| 791 | |
| 792 | Status Ingest_some_nulls(SEXP data, const std::shared_ptr<arrow::Array>& array, |
| 793 | R_xlen_t start, R_xlen_t n, size_t chunk_index) const { |
nothing calls this directly
no test coverage detected