Struct quackdb_internal::appender::AppenderHandle
source · pub struct AppenderHandle { /* private fields */ }Implementations§
source§impl AppenderHandle
impl AppenderHandle
pub fn create( connection: Arc<ConnectionHandle>, schema: Option<&CStr>, table: &CStr ) -> Result<Self, String>
pub unsafe fn from_raw( raw: duckdb_appender, connection: Arc<ConnectionHandle> ) -> Self
pub fn error(&self) -> String
pub fn flush(&self) -> Result<(), String>
pub fn close(&self) -> Result<(), String>
source§impl AppenderHandle
impl AppenderHandle
pub fn begin_row(&self) -> Result<(), String>
pub fn end_row(&self) -> Result<(), String>
pub fn append_bool(&self, value: bool) -> Result<(), String>
pub fn append_int8(&self, value: i8) -> Result<(), String>
pub fn append_int16(&self, value: i16) -> Result<(), String>
pub fn append_int32(&self, value: i32) -> Result<(), String>
pub fn append_int64(&self, value: i64) -> Result<(), String>
pub fn append_hugeint(&self, value: i128) -> Result<(), String>
pub fn append_uint8(&self, value: u8) -> Result<(), String>
pub fn append_uint16(&self, value: u16) -> Result<(), String>
pub fn append_uint32(&self, value: u32) -> Result<(), String>
pub fn append_uint64(&self, value: u64) -> Result<(), String>
pub fn append_float(&self, value: f32) -> Result<(), String>
pub fn append_double(&self, value: f64) -> Result<(), String>
pub fn append_date(&self, value: Date) -> Result<(), String>
pub fn append_time(&self, value: Time) -> Result<(), String>
pub fn append_timestamp(&self, value: PrimitiveDateTime) -> Result<(), String>
pub fn append_interval(&self, value: Duration) -> Result<(), String>
pub fn append_varchar(&self, value: &CStr) -> Result<(), String>
pub fn append_varchar_length(&self, value: &str) -> Result<(), String>
pub fn append_blob(&self, value: &[u8]) -> Result<(), String>
pub fn append_null(&self) -> Result<(), String>
Trait Implementations§
source§impl Deref for AppenderHandle
impl Deref for AppenderHandle
Auto Trait Implementations§
impl RefUnwindSafe for AppenderHandle
impl !Send for AppenderHandle
impl !Sync for AppenderHandle
impl Unpin for AppenderHandle
impl UnwindSafe for AppenderHandle
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