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

#include <lance/detail/declarations.hpp>

Public Attributes

FieldReference field
 
std::vector< std::pair< std::string, std::optional< std::string > > > values
 
MetadataUpdateMode mode = MetadataUpdateMode::Merge
 

Detailed Description

One field's metadata update in a batch. A std::nullopt value removes its key; an empty string stores a real empty value. The mode applies only to this field.

Definition at line 444 of file declarations.hpp.

Member Data Documentation

◆ field

FieldReference lance::FieldMetadataUpdate::field

Definition at line 445 of file declarations.hpp.

◆ mode

MetadataUpdateMode lance::FieldMetadataUpdate::mode = MetadataUpdateMode::Merge

Definition at line 447 of file declarations.hpp.

◆ values

std::vector<std::pair<std::string, std::optional<std::string> > > lance::FieldMetadataUpdate::values

Definition at line 446 of file declarations.hpp.


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