Crate datafusion_ffi

Crate datafusion_ffi 

Source

Modules§

arrow_wrappers
catalog_provider
catalog_provider_list
execution
execution_plan
expr
insert_op
physical_expr
plan_properties
proto
record_batch_stream
schema_provider
session
table_provider
table_source
testsintegration-tests
udaf
udf
udtf
udwf
util
volatility

Macros§

df_result
This macro is a helpful conversion utility to convert from an abi_stable::RResult to a DataFusion result.
rresult
This macro is a helpful conversion utility to convert from a DataFusion Result to an abi_stable::RResult
rresult_return
This macro is a helpful conversion utility to convert from a DataFusion Result to an abi_stable::RResult and to also call return when it is an error. Since you cannot use ? on an RResult, this is designed to mimic the pattern.

Functions§

get_library_marker_id
This utility is used to determine if two FFI structs are within the same library. It is possible that the interplay between foreign and local functions calls create one FFI struct that references another. It is helpful to determine if a foreign struct in the same library or called from a different one. If we are in the same library, then we can access the underlying types directly.
version
Returns the major version of the FFI implementation. If the API evolves, we use the major version to identify compatibility over the unsafe boundary. This call is intended to be used by implementers to validate they have compatible libraries.