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

#include <lance/lance.h>

Public Attributes

const LanceSchema * schema
 
int32_t mode
 
const LanceWriteOptions * write
 
const char *const * storage_opts
 
const LanceSession * session
 

Detailed Description

Options for the native fragment creation entry points.

schema == NULL leaves native schema inference in place. In APPEND mode native inference may use the existing dataset's schema, including its field IDs. A non-NULL schema is borrowed for the call and cloned before the write starts, so closing the handle during the call is not allowed.

mode is a LanceWriteMode value. write == NULL selects the native WriteParams::default() writer options. storage_opts == NULL and session == NULL keep the native defaults.

Definition at line 6967 of file lance.h.

Member Data Documentation

◆ mode

int32_t LanceFragmentCreateOptions::mode

Definition at line 6972 of file lance.h.

◆ schema

const LanceSchema* LanceFragmentCreateOptions::schema

Definition at line 6969 of file lance.h.

◆ session

const LanceSession* LanceFragmentCreateOptions::session

Definition at line 6978 of file lance.h.

◆ storage_opts

const char* const* LanceFragmentCreateOptions::storage_opts

Definition at line 6976 of file lance.h.

◆ write

const LanceWriteOptions* LanceFragmentCreateOptions::write

Definition at line 6974 of file lance.h.


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