|
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 | |
| KeyExistenceFilter (LanceKeyExistenceFilter *filter) | |
| KeyExistenceFilter (KeyExistenceFilter &&) noexcept=default | |
| KeyExistenceFilter & | operator= (KeyExistenceFilter &&) noexcept=default |
| KeyExistenceFilter (const KeyExistenceFilter &)=delete | |
| KeyExistenceFilter & | operator= (const KeyExistenceFilter &)=delete |
| LanceKeyExistenceFilterKind | kind () const |
| std::vector< int32_t > | field_ids () const |
| std::vector< uint64_t > | exact_keys () const |
| BloomFilterValues | bloom () const |
| Bloom parameters. Throws LANCE_ERR_NOT_SUPPORTED for an exact set. | |
| std::vector< uint8_t > | to_proto () const |
| KeyExistenceFilter | clone () const |
| Clone into independently owned native storage. | |
| const LanceKeyExistenceFilter * | c_handle () const |
Static Public Member Functions | |
| static KeyExistenceFilter | from_proto (const std::vector< uint8_t > &bytes) |
| Decode one encoded native key-existence-filter message. | |
Owned native key-existence filter. Move-only.
Values built from explicit protobuf bytes follow the native TryFrom defaults: an absent bloom number_of_items becomes 8192, an absent bloom probability becomes 0.00057, and an absent filter body becomes an empty exact set.
Definition at line 998 of file declarations.hpp.
|
explicit |
|
defaultnoexcept |
|
delete |
| BloomFilterValues lance::KeyExistenceFilter::bloom | ( | ) | const |
Bloom parameters. Throws LANCE_ERR_NOT_SUPPORTED for an exact set.
| const LanceKeyExistenceFilter * lance::KeyExistenceFilter::c_handle | ( | ) | const |
| KeyExistenceFilter lance::KeyExistenceFilter::clone | ( | ) | const |
Clone into independently owned native storage.
| std::vector< uint64_t > lance::KeyExistenceFilter::exact_keys | ( | ) | const |
Keys of an exact-set filter in ascending order. Throws LANCE_ERR_NOT_SUPPORTED for a bloom filter.
| std::vector< int32_t > lance::KeyExistenceFilter::field_ids | ( | ) | const |
|
static |
Decode one encoded native key-existence-filter message.
| LanceKeyExistenceFilterKind lance::KeyExistenceFilter::kind | ( | ) | const |
|
delete |
|
defaultnoexcept |
| std::vector< uint8_t > lance::KeyExistenceFilter::to_proto | ( | ) | const |
Encode with the native protobuf conversion used by persisted Update operations.