|
Lance C/C++ Bindings
C ABI and header-only C++ RAII wrappers for the Lance columnar data format
|
#include <lance/detail/declarations.hpp>
Public Member Functions | |
| DatasetDelta (LanceDatasetDelta *delta) | |
| DatasetDelta (DatasetDelta &&) noexcept=default | |
| DatasetDelta & | operator= (DatasetDelta &&) noexcept=default |
| DatasetDelta (const DatasetDelta &)=delete | |
| DatasetDelta & | operator= (const DatasetDelta &)=delete |
| std::vector< Transaction > | list_transactions () const |
| ArrowStream | get_inserted_rows () const |
| ArrowStream | get_updated_rows () const |
| ArrowStream | get_upserted_rows () const |
| ArrowStream | get_deleted_row_ids () const |
Native version-diff handle. Reusable: list_transactions and every get_* stream may be called repeatedly and in any order; each returned stream owns its state after this (and the dataset) handle closes. Row-change and deleted-ID streams require stable row IDs at both nonzero endpoints; version 0 is the empty snapshot. Native rejection surfaces as lance::Error with LANCE_ERR_INVALID_ARGUMENT when requesting a stream.
Definition at line 5305 of file declarations.hpp.
|
explicit |
|
defaultnoexcept |
|
delete |
| ArrowStream lance::DatasetDelta::get_deleted_row_ids | ( | ) | const |
Stream the deleted row ids across the delta's range into a returned ArrowStream. The single column is the native stable row-id; native resolution, version-zero behavior and error stages are authoritative. The stream stays valid after this delta (and its dataset) handle closes. On error nothing is returned and this delta remains usable.
| ArrowStream lance::DatasetDelta::get_inserted_rows | ( | ) | const |
Stream the rows inserted across the delta's range into a returned ArrowStream. The stream owns the native state it needs, so it stays valid after this delta (and its dataset) handle closes. On error nothing is returned and this delta remains usable.
| ArrowStream lance::DatasetDelta::get_updated_rows | ( | ) | const |
Stream the rows updated across the delta's range into a returned ArrowStream. The stream owns its native state and stays valid after this delta (and its dataset) handle closes. On error nothing is returned and this delta remains usable.
| ArrowStream lance::DatasetDelta::get_upserted_rows | ( | ) | const |
Stream the rows upserted across the delta's range into a returned ArrowStream. The stream owns its native state and stays valid after this delta (and its dataset) handle closes. On error nothing is returned and this delta remains usable.
| std::vector< Transaction > lance::DatasetDelta::list_transactions | ( | ) | const |
List the transactions committed between the delta's begin and end versions. Each element is an independently owned Transaction. Every element is adopted before the shared array guard releases the untouched remainder, so a mid-loop exception frees the rest exactly once.
|
delete |
|
defaultnoexcept |