Method
create
(
&self,
plan: LogicalPlan,
_session_state: &SessionState,
)
Source from the content-addressed store, hash-verified
| 85 | |
| 86 | impl 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
Tested by
no test coverage detected