pub struct StringBuilderWrapper { /* private fields */ }Expand description
Builder for Arrow Utf8 arrays (VARCHAR, NVARCHAR).
Implementations§
Source§impl StringBuilderWrapper
impl StringBuilderWrapper
Sourcepub fn new(capacity: usize, data_capacity: usize) -> Self
pub fn new(capacity: usize, data_capacity: usize) -> Self
Create a new string builder.
§Arguments
capacity- Number of strings to pre-allocatedata_capacity- Bytes to pre-allocate for string data
Sourcepub fn with_capacity(item_capacity: usize, data_capacity: usize) -> Self
pub fn with_capacity(item_capacity: usize, data_capacity: usize) -> Self
Create builder with custom capacity for values and data.
Sourcepub fn default_capacity() -> Self
pub fn default_capacity() -> Self
Create with default capacities (1024 items, 32KB data).
Trait Implementations§
Source§impl Debug for StringBuilderWrapper
impl Debug for StringBuilderWrapper
Source§impl HanaCompatibleBuilder for StringBuilderWrapper
impl HanaCompatibleBuilder for StringBuilderWrapper
Source§fn append_hana_value(&mut self, value: &HdbValue<'_>) -> Result<()>
fn append_hana_value(&mut self, value: &HdbValue<'_>) -> Result<()>
Append a HANA value to this builder. Read more
Source§fn append_null(&mut self)
fn append_null(&mut self)
Append a null value to this builder.
Auto Trait Implementations§
impl Freeze for StringBuilderWrapper
impl RefUnwindSafe for StringBuilderWrapper
impl Send for StringBuilderWrapper
impl Sync for StringBuilderWrapper
impl Unpin for StringBuilderWrapper
impl UnwindSafe for StringBuilderWrapper
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