Trait flechasdb::asyncdb::stored::LoadPartitionCentroids
source · 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§
sourcefn 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,
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.