MCPcopy Create free account
hub / github.com/apache/datafusion / put

Method put

datafusion-examples/examples/dataframe/cache_factory.rs:222–224  ·  view source on GitHub ↗
(&mut self, k: LogicalPlan, v: Vec<Vec<RecordBatch>>)

Source from the content-addressed store, hash-verified

220
221impl CacheManager {
222 pub fn put(&mut self, k: LogicalPlan, v: Vec<Vec<RecordBatch>>) {
223 self.cache.insert(k, v);
224 }
225
226 pub fn get(&self, k: &LogicalPlan) -> Option<&Vec<Vec<RecordBatch>>> {
227 self.cache.get(k)

Callers 9

plan_extensionMethod · 0.45
json_shreddingFunction · 0.45
in_memory_object_storeFunction · 0.45
write_parquetFunction · 0.45
json_openerFunction · 0.45
write_dataFunction · 0.45
default_column_valuesFunction · 0.45
setup_test_storeFunction · 0.45

Calls 1

insertMethod · 0.45

Tested by

no test coverage detected