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

#include <lance/detail/declarations.hpp>

Public Member Functions

 DatasetDeltaBuilder (LanceDatasetDeltaBuilder *builder)
 
 DatasetDeltaBuilder (DatasetDeltaBuilder &&) noexcept=default
 
DatasetDeltaBuilder & operator= (DatasetDeltaBuilder &&) noexcept=default
 
 DatasetDeltaBuilder (const DatasetDeltaBuilder &)=delete
 
DatasetDeltaBuilder & operator= (const DatasetDeltaBuilder &)=delete
 
DatasetDeltaBuilder & compared_against_version (uint64_t version)
 
DatasetDeltaBuilder & begin_version (uint64_t version)
 
DatasetDeltaBuilder & end_version (uint64_t version)
 Set the explicit end version.
 
DatasetDeltaBuilder & begin_timestamp (const LanceDeltaTimestamp &timestamp)
 
DatasetDeltaBuilder & end_timestamp (const LanceDeltaTimestamp &timestamp)
 Set the end date for date-mode ranges.
 
DatasetDelta build ()
 

Detailed Description

Builder mirroring the native dataset::delta::DatasetDeltaBuilder. Range combinations are validated synchronously on build. build consumes this builder, so it must not be used afterwards.

Definition at line 5352 of file declarations.hpp.

Constructor & Destructor Documentation

◆ DatasetDeltaBuilder() [1/3]

lance::DatasetDeltaBuilder::DatasetDeltaBuilder ( LanceDatasetDeltaBuilder * builder)
explicit

◆ DatasetDeltaBuilder() [2/3]

lance::DatasetDeltaBuilder::DatasetDeltaBuilder ( DatasetDeltaBuilder && )
defaultnoexcept

◆ DatasetDeltaBuilder() [3/3]

lance::DatasetDeltaBuilder::DatasetDeltaBuilder ( const DatasetDeltaBuilder & )
delete

Member Function Documentation

◆ begin_timestamp()

DatasetDeltaBuilder & lance::DatasetDeltaBuilder::begin_timestamp ( const LanceDeltaTimestamp & timestamp)

Set the begin date for date-mode ranges. Native build requires a begin date when an end date is provided. A timestamp the native chrono constructor cannot represent is rejected by this setter.

◆ begin_version()

DatasetDeltaBuilder & lance::DatasetDeltaBuilder::begin_version ( uint64_t version)

Set the explicit begin version. Native build requires both begin and end versions, or a compared-against version.

◆ build()

DatasetDelta lance::DatasetDeltaBuilder::build ( )

Build the delta and consume this builder: the C entry point frees the builder on every return path, including errors, so the handle is released before the call and never closed again. Native build is synchronous and validates the configured range combination.

◆ compared_against_version()

DatasetDeltaBuilder & lance::DatasetDeltaBuilder::compared_against_version ( uint64_t version)

Compare against the named version. Native build rejects combining this with any explicit begin/end version or date.

◆ end_timestamp()

DatasetDeltaBuilder & lance::DatasetDeltaBuilder::end_timestamp ( const LanceDeltaTimestamp & timestamp)

Set the end date for date-mode ranges.

◆ end_version()

DatasetDeltaBuilder & lance::DatasetDeltaBuilder::end_version ( uint64_t version)

Set the explicit end version.

◆ operator=() [1/2]

DatasetDeltaBuilder & lance::DatasetDeltaBuilder::operator= ( const DatasetDeltaBuilder & )
delete

◆ operator=() [2/2]

DatasetDeltaBuilder & lance::DatasetDeltaBuilder::operator= ( DatasetDeltaBuilder && )
defaultnoexcept

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