pub fn chunks(&self) -> Vec<Arc<RwLock<Chunk>>> {
        let mut chunks = Vec::new();
        let partitions = self.partitions.read();

        for partition in partitions.values() {
            let partition = partition.read();
            chunks.extend(partition.chunks().cloned())
        }
        chunks
    }
/// Returns all chunks within the catalog in an arbitrary order
Returns all chunks within the catalog in an arbitrary order
Returns all chunks within the catalog in an arbitrary order
pub fn chunks(&self) -> Vec<Arc<RwLock<Chunk>>> {
        let mut chunks = Vec::new();
        let partitions = self.partitions.read();
        for partition in partitions.values() {
            let partition = partition.read();
            chunks.extend(partition.chunks().cloned())
        }
        chunks
    }
pub fn chunks ( & self ) -> Vec < Arc < RwLock < Chunk > > > { let mut chunks = Vec :: new ( ) ; let partitions = self . partitions . read ( ) ; for partition in partitions . values ( ) { let partition = partition . read ( ) ; chunks . extend ( partition . chunks ( ) . cloned ( ) ) } chunks }
Returns all chunks within the catalog in an arbitrary order
Returns all chunks within the catalog in an arbitrary order
&self
&self