|
Lance C/C++ Bindings
C ABI and header-only C++ RAII wrappers for the Lance columnar data format
|
#include <lance/lance.h>
Public Attributes | |
| LanceStorageOptionsFetchFn | fetch |
| LanceStorageOptionsFetchFn | force_fetch |
| LanceStorageOptionsProviderReleaseFn | release |
| void * | provider_ctx |
| const char * | provider_id |
Foreign storage-options provider declaration.
fetch is required. force_fetch is optional; omission follows the native trait default and calls fetch. provider_id is copied and must be non-empty. It preserves native equality and object-store registry cache identity, so equal IDs may share a native store.
Ownership of provider_ctx and release transfers only when lance_storage_options_provider_new succeeds. The library retains the context through every native owner that still needs its credentials, including accessors and datasets, and calls release(provider_ctx) exactly once when the final owner drops. Object-store registry cache entries do not keep the context alive.
| LanceStorageOptionsFetchFn LanceStorageOptionsProviderSpec::fetch |
| LanceStorageOptionsFetchFn LanceStorageOptionsProviderSpec::force_fetch |
| LanceStorageOptionsProviderReleaseFn LanceStorageOptionsProviderSpec::release |