pub struct ArrayVector { /* private fields */ }Expand description
A array vector. (fixed-size list)
Implementations§
Source§impl ArrayVector
impl ArrayVector
Sourcepub fn logical_type(&self) -> LogicalTypeHandle
pub fn logical_type(&self) -> LogicalTypeHandle
Get the logical type of this ArrayVector.
Sourcepub fn get_array_size(&self) -> u64
pub fn get_array_size(&self) -> u64
Returns the size of the array type.
Sourcepub fn child(&self, capacity: usize) -> FlatVector
pub fn child(&self, capacity: usize) -> FlatVector
Returns the child vector. capacity should be a multiple of the array size.
Trait Implementations§
Source§impl From<*mut _duckdb_vector> for ArrayVector
impl From<*mut _duckdb_vector> for ArrayVector
Source§fn from(ptr: duckdb_vector) -> Self
fn from(ptr: duckdb_vector) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ArrayVector
impl RefUnwindSafe for ArrayVector
impl !Send for ArrayVector
impl !Sync for ArrayVector
impl Unpin for ArrayVector
impl UnwindSafe for ArrayVector
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