# Trait flechasdb::db::stored::LoadPartitionCentroids

source ·

    pub trait LoadPartitionCentroids<T> {
        // Required method
        fn load_partition_centroids(&self) -> Result<BlockVectorSet<T>, Error>;
    }

Expand description

Capability of loading partition centroids.

Supposed to be specialized for a specific `Database`.

## Required Methods§

source

#### fn load_partition_centroids(&self) -> Result<BlockVectorSet<T>, Error>

Loads partition centroids.

Fails if:

- vector size does not match
- number of partitions does not match

## Implementors§

source§

### impl<FS> LoadPartitionCentroids<f32> for Database<f32, FS>where FS: FileSystem,