pub struct ColumnsBuilder<'a> { /* private fields */ }Implementations§
Source§impl<'a> ColumnsBuilder<'a>
impl<'a> ColumnsBuilder<'a>
pub fn new(ctx: &'a mut FFIOperatorContext) -> Self
pub fn from_raw_ctx(ctx: *mut ContextFFI) -> Self
pub fn acquire( &mut self, type_code: ColumnTypeCode, capacity: usize, ) -> Result<ColumnBuilder<'_>, SdkError>
pub fn emit_insert( &mut self, post: &[CommittedColumn], names: &[&str], row_numbers: &[RowNumber], ) -> Result<(), SdkError>
pub fn emit_update( &mut self, pre: &[CommittedColumn], pre_names: &[&str], pre_row_count: usize, pre_row_numbers: &[RowNumber], post: &[CommittedColumn], post_names: &[&str], post_row_count: usize, post_row_numbers: &[RowNumber], ) -> Result<(), SdkError>
pub fn emit_remove( &mut self, pre: &[CommittedColumn], names: &[&str], row_numbers: &[RowNumber], ) -> Result<(), SdkError>
Source§impl<'a> ColumnsBuilder<'a>
impl<'a> ColumnsBuilder<'a>
pub fn u8_writer(&mut self, capacity: usize) -> Result<U8Writer<'_>, SdkError>
pub fn u16_writer(&mut self, capacity: usize) -> Result<U16Writer<'_>, SdkError>
pub fn u32_writer(&mut self, capacity: usize) -> Result<U32Writer<'_>, SdkError>
pub fn u64_writer(&mut self, capacity: usize) -> Result<U64Writer<'_>, SdkError>
pub fn u128_writer( &mut self, capacity: usize, ) -> Result<U128Writer<'_>, SdkError>
pub fn i8_writer(&mut self, capacity: usize) -> Result<I8Writer<'_>, SdkError>
pub fn i16_writer(&mut self, capacity: usize) -> Result<I16Writer<'_>, SdkError>
pub fn i32_writer(&mut self, capacity: usize) -> Result<I32Writer<'_>, SdkError>
pub fn i64_writer(&mut self, capacity: usize) -> Result<I64Writer<'_>, SdkError>
pub fn i128_writer( &mut self, capacity: usize, ) -> Result<I128Writer<'_>, SdkError>
pub fn f32_writer(&mut self, capacity: usize) -> Result<F32Writer<'_>, SdkError>
pub fn f64_writer(&mut self, capacity: usize) -> Result<F64Writer<'_>, SdkError>
pub fn date_writer( &mut self, capacity: usize, ) -> Result<DateWriter<'_>, SdkError>
pub fn datetime_writer( &mut self, capacity: usize, ) -> Result<DateTimeWriter<'_>, SdkError>
pub fn time_writer( &mut self, capacity: usize, ) -> Result<TimeWriter<'_>, SdkError>
pub fn duration_writer( &mut self, capacity: usize, ) -> Result<DurationWriter<'_>, SdkError>
pub fn bool_writer( &mut self, capacity: usize, ) -> Result<BoolWriter<'_>, SdkError>
pub fn utf8_writer( &mut self, capacity: usize, expected_bytes: usize, ) -> Result<Utf8Writer<'_>, SdkError>
pub fn blob_writer( &mut self, capacity: usize, expected_bytes: usize, ) -> Result<BlobWriter<'_>, SdkError>
pub fn decimal_writer( &mut self, capacity: usize, expected_bytes: usize, ) -> Result<DecimalWriter<'_>, SdkError>
Auto Trait Implementations§
impl<'a> Freeze for ColumnsBuilder<'a>
impl<'a> RefUnwindSafe for ColumnsBuilder<'a>
impl<'a> !Send for ColumnsBuilder<'a>
impl<'a> !Sync for ColumnsBuilder<'a>
impl<'a> Unpin for ColumnsBuilder<'a>
impl<'a> UnsafeUnpin for ColumnsBuilder<'a>
impl<'a> !UnwindSafe for ColumnsBuilder<'a>
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more