pub trait LoadPartitionCentroids<'db, T> {
    // Required method
    fn load_partition_centroids<'async_trait>(
        &'db self
    ) -> Pin<Box<dyn Future<Output = Result<&'db BlockVectorSet<T>, Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'db: 'async_trait;
}
Expand description

Capability of loading a partition centroids.

Supposed to be specialized for a specific Database.

Required Methods§

source

fn load_partition_centroids<'async_trait>( &'db self ) -> Pin<Box<dyn Future<Output = Result<&'db BlockVectorSet<T>, Error>> + Send + 'async_trait>>where Self: 'async_trait, 'db: 'async_trait,

Loads the partition centroids of the database.

Implementors§

source§

impl<'db, FS> LoadPartitionCentroids<'db, f32> for Database<f32, FS>where FS: FileSystem + Send + Sync, Self: 'db,