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

Method create

datafusion-examples/examples/dataframe/cache_factory.rs:87–95  ·  view source on GitHub ↗
(
        &self,
        plan: LogicalPlan,
        _session_state: &SessionState,
    )

Source from the content-addressed store, hash-verified

85
86impl CacheFactory for CustomCacheFactory {
87 fn create(
88 &self,
89 plan: LogicalPlan,
90 _session_state: &SessionState,
91 ) -> Result<LogicalPlan> {
92 Ok(LogicalPlan::Extension(Extension {
93 node: Arc::new(CacheNode { input: plan }),
94 }))
95 }
96}
97
98#[derive(PartialEq, Eq, PartialOrd, Hash, Debug)]

Callers

nothing calls this directly

Calls 2

ExtensionClass · 0.85
newFunction · 0.85

Tested by

no test coverage detected