Client is the main class exposed by CyborgDB. It exposes the functionality necessary to create, load, list and delete indexes. Operations within encrypted indexes (such as upsert and query) are contained within the EncryptedIndex class returned by create_index and load_index.
Constructor
Client instance.
Parameters
Exceptions
ValueError
ValueError
- Throws if the
cpu_threadsparameter is less than0. - Throws if any
DBConfigis invalid. - Throws if the GPU is not available when
gpu_accelerateisTrue.
RuntimeError
RuntimeError
- Throws if the backing store is not available.
- Throws if the Client could not be initialized.