|
XVector
|
RAII wrapper for xvecIvfRaBitQIndexTag. More...
#include <xvec_ivf_rabitq_index.hpp>
Public Member Functions | |
| virtual | ~IvfRaBitQIndex () |
| IvfRaBitQIndex (IvfRaBitQIndex &&other) noexcept | |
| IvfRaBitQIndex & | operator= (IvfRaBitQIndex &&other) noexcept |
| IvfRaBitQIndex (const IvfRaBitQIndex &)=delete | |
| IvfRaBitQIndex & | operator= (const IvfRaBitQIndex &)=delete |
| xvecIvfRaBitQIndexTag * | handle () const noexcept |
| Get the underlying C API handle. More... | |
Static Public Member Functions | |
| static IvfRaBitQIndex | fromFaissFile (xvecExecutionContextTag *context, const std::string &path) |
| Load an IVF-RaBitQ index from a Faiss file. More... | |
| static IvfRaBitQIndex | fromDescriptor (xvecExecutionContextTag *context, const xvecIvfRaBitQDescriptor &descriptor) |
| Load an IVF-RaBitQ index from a FAISS-free descriptor. More... | |
RAII wrapper for xvecIvfRaBitQIndexTag.
Manages the lifetime of an IVF-RaBitQ index. The index is loaded via named factory methods and destroyed in the destructor. Supports move semantics but not copying.
Definition at line 58 of file xvec_ivf_rabitq_index.hpp.
|
virtual |
|
noexcept |
|
delete |
|
static |
Load an IVF-RaBitQ index from a FAISS-free descriptor.
| context | Execution context handle (not owned). |
| descriptor | Fully-populated index descriptor (borrowed for the call). |
| xvec::Error | if loading fails. |
|
static |
Load an IVF-RaBitQ index from a Faiss file.
| context | Execution context handle (not owned). |
| path | Path to the Faiss index file (.faiss). |
| xvec::Error | if loading fails. |
|
noexcept |
Get the underlying C API handle.
|
delete |
|
noexcept |