Allocate a vector of the right R type for a slice of the data this converter was built for, i.e. never as an altrep vector shadowing the whole chunked array. Only converters whose Allocate() may hand out altrep vectors (e.g. Converter_Struct) need to override this.
| 53 | // Only converters whose Allocate() may hand out altrep vectors (e.g. Converter_Struct) |
| 54 | // need to override this. |
| 55 | virtual SEXP AllocateSlice(R_xlen_t n) const { return Allocate(n); } |
| 56 | |
| 57 | // data[ start:(start + n) ] = NA |
| 58 | virtual Status Ingest_all_nulls(SEXP data, R_xlen_t start, R_xlen_t n) const = 0; |
no test coverage detected