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

Function clone_fn_wrapper

datafusion/ffi/src/udtf.rs:185–194  ·  view source on GitHub ↗
(udtf: &FFI_TableFunction)

Source from the content-addressed store, hash-verified

183}
184
185unsafe extern "C" fn clone_fn_wrapper(udtf: &FFI_TableFunction) -> FFI_TableFunction {
186 let runtime = udtf.runtime();
187 let udtf_inner = udtf.inner();
188
189 FFI_TableFunction::new_with_ffi_codec(
190 Arc::clone(udtf_inner),
191 runtime,
192 udtf.logical_codec.clone(),
193 )
194}
195
196impl Clone for FFI_TableFunction {
197 fn clone(&self) -> Self {

Callers

nothing calls this directly

Calls 3

runtimeMethod · 0.45
innerMethod · 0.45
cloneMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…