pub struct TableFunctionHandle { /* private fields */ }
Implementations§
Source§impl TableFunctionHandle
impl TableFunctionHandle
pub fn create() -> Arc<Self>
pub fn set_name(&self, name: &CStr)
pub fn add_parameter(&self, type_: &LogicalTypeHandle)
pub fn add_named_parameter(&self, name: &CStr, type_: &LogicalTypeHandle)
Sourcepub unsafe fn set_extra_info(
&self,
extra_info: *mut c_void,
destroy: duckdb_delete_callback_t,
)
pub unsafe fn set_extra_info( &self, extra_info: *mut c_void, destroy: duckdb_delete_callback_t, )
§Safety
- Takes ownership of
*extra_info
destroy
must outlive selfdestroy()
freesextra_info
Sourcepub unsafe fn set_bind(&self, bind: duckdb_table_function_bind_t)
pub unsafe fn set_bind(&self, bind: duckdb_table_function_bind_t)
§Safety
bind
must outlive self
Sourcepub unsafe fn set_init(&self, init: duckdb_table_function_init_t)
pub unsafe fn set_init(&self, init: duckdb_table_function_init_t)
§Safety
init
must outlive self
Sourcepub unsafe fn set_local_init(&self, init: duckdb_table_function_init_t)
pub unsafe fn set_local_init(&self, init: duckdb_table_function_init_t)
§Safety
init
must outlive self
Sourcepub unsafe fn set_function(&self, function: duckdb_table_function_t)
pub unsafe fn set_function(&self, function: duckdb_table_function_t)
§Safety
init
must outlive self
pub fn supports_projection_pushdown(&self, pushdown: bool)
Trait Implementations§
Source§impl Debug for TableFunctionHandle
impl Debug for TableFunctionHandle
Source§impl Deref for TableFunctionHandle
impl Deref for TableFunctionHandle
Auto Trait Implementations§
impl Freeze for TableFunctionHandle
impl RefUnwindSafe for TableFunctionHandle
impl !Send for TableFunctionHandle
impl !Sync for TableFunctionHandle
impl Unpin for TableFunctionHandle
impl UnwindSafe for TableFunctionHandle
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more