Lance C/C++ Bindings
C ABI and header-only C++ RAII wrappers for the Lance columnar data format
Loading...
Searching...
No Matches
lance::ColumnAlteration Struct Reference

#include <lance/detail/declarations.hpp>

Public Attributes

std::string path
 
std::optional< std::string > rename
 
LanceColumnNullableMode nullable_mode = LANCE_COLUMN_NULLABLE_UNCHANGED
 
const ArrowSchema * data_type = nullptr
 

Detailed Description

A single alteration applied to one column by Dataset::alter_columns. Every non-path field is optional; at least one must request a change.

data_type, when non-null, borrows an Arrow C Data Interface ArrowSchema describing the target type. The caller owns it and must keep it alive for the duration of the alter_columns call; the wrapper does not release it.

Definition at line 1548 of file declarations.hpp.

Member Data Documentation

◆ data_type

const ArrowSchema* lance::ColumnAlteration::data_type = nullptr

Definition at line 1552 of file declarations.hpp.

◆ nullable_mode

LanceColumnNullableMode lance::ColumnAlteration::nullable_mode = LANCE_COLUMN_NULLABLE_UNCHANGED

Definition at line 1551 of file declarations.hpp.

◆ path

std::string lance::ColumnAlteration::path

Definition at line 1549 of file declarations.hpp.

◆ rename

std::optional<std::string> lance::ColumnAlteration::rename

Definition at line 1550 of file declarations.hpp.


The documentation for this struct was generated from the following file: