|
Lance C/C++ Bindings
C ABI and header-only C++ RAII wrappers for the Lance columnar data format
|
#include <lance/lance.h>
Public Attributes | |
| const char * | path |
| const char * | rename |
| int32_t | nullable_mode |
| const struct ArrowSchema * | data_type |
A single alteration applied to one column. Every non-path field is optional via a sentinel:
rename = NULL keeps the current name.nullable_mode = LANCE_COLUMN_NULLABLE_UNCHANGED keeps current nullability.data_type = NULL keeps the current data type.At least one of rename, nullable_mode, or data_type must request a change; an alteration that touches nothing is rejected at the FFI boundary.
data_type, when non-NULL, borrows an Arrow C Data Interface ArrowSchema describing the target type. The struct is read by shared reference for the duration of the call; its release callback is never invoked.
| const struct ArrowSchema* LanceColumnAlteration::data_type |