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

#include <lance/detail/declarations.hpp>

Public Attributes

const LanceSchema * schema = nullptr
 
WriteMode mode = WriteMode::Create
 
WriteOptions write
 

Detailed Description

Options for native fragment creation.

schema == nullptr leaves native schema inference in place; in Append mode native inference may reuse the existing dataset's schema and field IDs. A non-null schema is borrowed for the call and cloned by the C API before the asynchronous write starts. write maps through the same native option conversion as Dataset::write_with_options, so a default-constructed value selects native WriteParams::default().

Definition at line 714 of file declarations.hpp.

Member Data Documentation

◆ mode

WriteMode lance::FragmentCreateOptions::mode = WriteMode::Create

Definition at line 716 of file declarations.hpp.

◆ schema

const LanceSchema* lance::FragmentCreateOptions::schema = nullptr

Definition at line 715 of file declarations.hpp.

◆ write

WriteOptions lance::FragmentCreateOptions::write

Definition at line 717 of file declarations.hpp.


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