| 1051 | } |
| 1052 | |
| 1053 | Status Ingest_some_nulls(SEXP data, const std::shared_ptr<arrow::Array>& array, |
| 1054 | R_xlen_t start, R_xlen_t n, size_t chunk_index) const { |
| 1055 | auto list_array = checked_cast<const ListArrayType*>(array.get()); |
| 1056 | auto values_array = list_array->values(); |
| 1057 | |
| 1058 | auto ingest_one = [&](R_xlen_t i) { |
| 1059 | auto slice = list_array->value_slice(i); |
| 1060 | SET_VECTOR_ELT(data, i + start, Converter::Convert(slice)); |
| 1061 | return Status::OK(); |
| 1062 | }; |
| 1063 | |
| 1064 | return IngestSome(array, n, ingest_one); |
| 1065 | } |
| 1066 | |
| 1067 | bool Parallel() const { return false; } |
| 1068 | }; |
nothing calls this directly
no test coverage detected