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

Function get_schema

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

The callback used to get array schema

(
    stream: *mut FFI_ArrowArrayStream,
    schema: *mut FFI_ArrowSchema,
)

Source from the content-addressed store, hash-verified

125
126// The callback used to get array schema
127unsafe extern "C" fn get_schema(
128 stream: *mut FFI_ArrowArrayStream,
129 schema: *mut FFI_ArrowSchema,
130) -> c_int {
131 ExportedArrayStream { stream }.get_schema(schema)
132}
133
134// The callback used to get next array
135unsafe extern "C" fn get_next(

Callers 2

callMethod · 0.85
_test_round_trip_exportFunction · 0.85

Calls 1

get_schemaMethod · 0.45

Tested by

no test coverage detected