Retrieves a cached array for the given column and row ID Returns None if not found in cache
(&self, column_idx: usize, batch_id: BatchID)
| 107 | /// Retrieves a cached array for the given column and row ID |
| 108 | /// Returns None if not found in cache |
| 109 | pub fn get(&self, column_idx: usize, batch_id: BatchID) -> Option<ArrayRef> { |
| 110 | let key = CacheKey { |
| 111 | column_idx, |
| 112 | batch_id, |
| 113 | }; |
| 114 | self.cache.get(&key).cloned() |
| 115 | } |
| 116 | |
| 117 | /// Gets the batch size for this cache |
| 118 | pub fn batch_size(&self) -> usize { |
no outgoing calls