| 1142 | } |
| 1143 | |
| 1144 | Status Ingest_some_nulls(SEXP data, const std::shared_ptr<arrow::Array>& array, |
| 1145 | R_xlen_t start, R_xlen_t n, size_t chunk_index) const { |
| 1146 | auto list_array = checked_cast<const ListArrayType*>(array.get()); |
| 1147 | |
| 1148 | auto ingest_one = [&](R_xlen_t i) { |
| 1149 | auto slice = list_array->value_slice(i); |
| 1150 | SET_VECTOR_ELT(data, i + start, |
| 1151 | values_converter_->ConvertSlice(slice, chunk_index)); |
| 1152 | return Status::OK(); |
| 1153 | }; |
| 1154 | |
| 1155 | return IngestSome(array, n, ingest_one); |
| 1156 | } |
| 1157 | |
| 1158 | bool Parallel() const { return false; } |
| 1159 | }; |
nothing calls this directly
no test coverage detected