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

#include <lance/lance.h>

Public Attributes

const uint64_t * removed_fragment_ids
 
size_t removed_fragment_count
 
const LanceFragment *const * updated_fragments
 
size_t updated_fragment_count
 
const LanceFragment *const * new_fragments
 
size_t new_fragment_count
 
const uint32_t * fields_modified
 
size_t fields_modified_count
 
const LanceCompactedSsTable * compacted_sstables
 
size_t compacted_sstable_count
 
const uint32_t * fields_for_preserving_frag_bitmap
 
size_t fields_for_preserving_frag_bitmap_count
 
bool has_update_mode
 
int32_t update_mode
 
const LanceKeyExistenceFilter * inserted_rows_filter
 
const LanceUpdatedFragmentOffsets * updated_fragment_offsets
 

Detailed Description

Complete input for lance_operation_update_new().

Every array is borrowed for the duration of the call and copied into native owned values. A NULL array is accepted only with a zero count. Native fields are not defaulted: an empty fields_modified, compacted_sstables, removed_fragment_ids or fields_for_preserving_frag_bitmap means the caller supplied none.

A NULL inserted_rows_filter or updated_fragment_offsets maps to native None, as does has_update_mode == false; these are distinct from the populated and empty-value states. update_mode is ignored unless has_update_mode is true and must then be a LanceUpdateMode value.

This struct grows only by appending fields.

Definition at line 8798 of file lance.h.

Member Data Documentation

◆ compacted_sstable_count

size_t LanceUpdateOperationOptions::compacted_sstable_count

Definition at line 8808 of file lance.h.

◆ compacted_sstables

const LanceCompactedSsTable* LanceUpdateOperationOptions::compacted_sstables

Definition at line 8807 of file lance.h.

◆ fields_for_preserving_frag_bitmap

const uint32_t* LanceUpdateOperationOptions::fields_for_preserving_frag_bitmap

Definition at line 8809 of file lance.h.

◆ fields_for_preserving_frag_bitmap_count

size_t LanceUpdateOperationOptions::fields_for_preserving_frag_bitmap_count

Definition at line 8810 of file lance.h.

◆ fields_modified

const uint32_t* LanceUpdateOperationOptions::fields_modified

Definition at line 8805 of file lance.h.

◆ fields_modified_count

size_t LanceUpdateOperationOptions::fields_modified_count

Definition at line 8806 of file lance.h.

◆ has_update_mode

bool LanceUpdateOperationOptions::has_update_mode

Definition at line 8811 of file lance.h.

◆ inserted_rows_filter

const LanceKeyExistenceFilter* LanceUpdateOperationOptions::inserted_rows_filter

Definition at line 8813 of file lance.h.

◆ new_fragment_count

size_t LanceUpdateOperationOptions::new_fragment_count

Definition at line 8804 of file lance.h.

◆ new_fragments

const LanceFragment* const* LanceUpdateOperationOptions::new_fragments

Definition at line 8803 of file lance.h.

◆ removed_fragment_count

size_t LanceUpdateOperationOptions::removed_fragment_count

Definition at line 8800 of file lance.h.

◆ removed_fragment_ids

const uint64_t* LanceUpdateOperationOptions::removed_fragment_ids

Definition at line 8799 of file lance.h.

◆ update_mode

int32_t LanceUpdateOperationOptions::update_mode

Definition at line 8812 of file lance.h.

◆ updated_fragment_count

size_t LanceUpdateOperationOptions::updated_fragment_count

Definition at line 8802 of file lance.h.

◆ updated_fragment_offsets

const LanceUpdatedFragmentOffsets* LanceUpdateOperationOptions::updated_fragment_offsets

Definition at line 8814 of file lance.h.

◆ updated_fragments

const LanceFragment* const* LanceUpdateOperationOptions::updated_fragments

Definition at line 8801 of file lance.h.


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