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§
sourcefn load_partition_centroids(&self) -> Result<BlockVectorSet<T>, Error>
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