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

Function RecordBatch__Slice1

r/src/recordbatch.cpp:149–153  ·  view source on GitHub ↗

[[arrow::export]]

Source from the content-addressed store, hash-verified

147
148// [[arrow::export]]
149std::shared_ptr<arrow::RecordBatch> RecordBatch__Slice1(
150 const std::shared_ptr<arrow::RecordBatch>& self, R_xlen_t offset) {
151 arrow::r::validate_slice_offset(offset, self->num_rows());
152 return self->Slice(offset);
153}
154
155// [[arrow::export]]
156std::shared_ptr<arrow::RecordBatch> RecordBatch__Slice2(

Callers 1

Calls 2

num_rowsMethod · 0.45
SliceMethod · 0.45

Tested by

no test coverage detected