|
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 | |
| UpdatedFragmentOffsets (LanceUpdatedFragmentOffsets *offsets) | |
| UpdatedFragmentOffsets (const std::vector< std::pair< uint64_t, std::vector< uint32_t > > > &entries) | |
| Build from (fragment ID, offsets) entries in input order. | |
| UpdatedFragmentOffsets (UpdatedFragmentOffsets &&) noexcept=default | |
| UpdatedFragmentOffsets & | operator= (UpdatedFragmentOffsets &&) noexcept=default |
| UpdatedFragmentOffsets (const UpdatedFragmentOffsets &)=delete | |
| UpdatedFragmentOffsets & | operator= (const UpdatedFragmentOffsets &)=delete |
| size_t | size () const |
| Number of fragment entries. Entry order is unspecified. | |
| uint64_t | fragment_id_at (size_t index) const |
| size_t | offset_count_at (size_t index) const |
| std::vector< uint32_t > | offsets_at (size_t index) const |
| Offsets of one entry in ascending native bitmap order, copied in one pass. | |
| UpdatedFragmentOffsets | clone () const |
| Clone into independently owned native storage. | |
| const LanceUpdatedFragmentOffsets * | c_handle () const |
Owned native UpdatedFragmentOffsets value. Move-only.
Native absent, present-but-empty, and populated values are distinct and are preserved here. Offsets are treated as sets, and a repeated fragment ID in the constructor input keeps the last entry, matching native HashMap representation.
Definition at line 958 of file declarations.hpp.
|
explicit |
|
explicit |
Build from (fragment ID, offsets) entries in input order.
|
defaultnoexcept |
|
delete |
| const LanceUpdatedFragmentOffsets * lance::UpdatedFragmentOffsets::c_handle | ( | ) | const |
| UpdatedFragmentOffsets lance::UpdatedFragmentOffsets::clone | ( | ) | const |
Clone into independently owned native storage.
| uint64_t lance::UpdatedFragmentOffsets::fragment_id_at | ( | size_t | index | ) | const |
| size_t lance::UpdatedFragmentOffsets::offset_count_at | ( | size_t | index | ) | const |
| std::vector< uint32_t > lance::UpdatedFragmentOffsets::offsets_at | ( | size_t | index | ) | const |
Offsets of one entry in ascending native bitmap order, copied in one pass.
|
delete |
|
defaultnoexcept |
| size_t lance::UpdatedFragmentOffsets::size | ( | ) | const |
Number of fragment entries. Entry order is unspecified.