Skip to main content
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

Initializes a new CyborgDB Client instance.

Parameters

Exceptions

  • Throws if the cpu_threads parameter is less than 0.
  • Throws if any DBConfig is invalid.
  • Throws if the GPU is not available when gpu_accelerate is True.
  • Throws if the backing store is not available.
  • Throws if the Client could not be initialized.

Example Usage