MCPcopy Create free account
hub / github.com/apache/arrow / RecordBatch__Slice2

Function RecordBatch__Slice2

r/src/recordbatch.cpp:156–161  ·  view source on GitHub ↗

[[arrow::export]]

Source from the content-addressed store, hash-verified

154
155// [[arrow::export]]
156std::shared_ptr<arrow::RecordBatch> RecordBatch__Slice2(
157 const std::shared_ptr<arrow::RecordBatch>& self, R_xlen_t offset, R_xlen_t length) {
158 arrow::r::validate_slice_offset(offset, self->num_rows());
159 arrow::r::validate_slice_length(length, self->num_rows() - offset);
160 return self->Slice(offset, length);
161}
162
163// [[arrow::export]]
164cpp11::raws ipc___SerializeRecordBatch__Raw(

Callers 1

Calls 2

num_rowsMethod · 0.45
SliceMethod · 0.45

Tested by

no test coverage detected