|
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 | |
| 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 ×tamp) |
| DatasetDeltaBuilder & | end_timestamp (const LanceDeltaTimestamp ×tamp) |
| Set the end date for date-mode ranges. | |
| DatasetDelta | build () |
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.
|
explicit |
|
defaultnoexcept |
|
delete |
| 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.
| 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.
| 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.
| 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.
| DatasetDeltaBuilder & lance::DatasetDeltaBuilder::end_timestamp | ( | const LanceDeltaTimestamp & | timestamp | ) |
Set the end date for date-mode ranges.
| DatasetDeltaBuilder & lance::DatasetDeltaBuilder::end_version | ( | uint64_t | version | ) |
Set the explicit end version.
|
delete |
|
defaultnoexcept |