MCPcopy Create free account
hub / github.com/apache/arrow-rs / get_next

Function get_next

arrow-array/src/ffi_stream.rs:135–140  ·  view source on GitHub ↗

The callback used to get next array

(
    stream: *mut FFI_ArrowArrayStream,
    array: *mut FFI_ArrowArray,
)

Source from the content-addressed store, hash-verified

133
134// The callback used to get next array
135unsafe extern "C" fn get_next(
136 stream: *mut FFI_ArrowArrayStream,
137 array: *mut FFI_ArrowArray,
138) -> c_int {
139 ExportedArrayStream { stream }.get_next(array)
140}
141
142// The callback used to get the error from last operation on the `FFI_ArrowArrayStream`
143unsafe extern "C" fn get_last_error(stream: *mut FFI_ArrowArrayStream) -> *const c_char {

Callers 1

_test_round_trip_exportFunction · 0.85

Calls 1

get_nextMethod · 0.80

Tested by

no test coverage detected