pub struct StructVector { /* private fields */ }Expand description
A struct vector.
Implementations§
Source§impl StructVector
impl StructVector
Sourcepub fn child(&self, idx: usize, capacity: usize) -> FlatVector
pub fn child(&self, idx: usize, capacity: usize) -> FlatVector
Returns the child by idx in the list vector.
Sourcepub fn struct_vector_child(&self, idx: usize) -> StructVector
pub fn struct_vector_child(&self, idx: usize) -> StructVector
Take the child as StructVector.
Sourcepub fn list_vector_child(&self, idx: usize) -> ListVector
pub fn list_vector_child(&self, idx: usize) -> ListVector
Take the child as ListVector.
Sourcepub fn array_vector_child(&self, idx: usize) -> ArrayVector
pub fn array_vector_child(&self, idx: usize) -> ArrayVector
Take the child as ArrayVector.
Sourcepub fn logical_type(&self) -> LogicalTypeHandle
pub fn logical_type(&self) -> LogicalTypeHandle
Get the logical type of this struct vector.
Sourcepub fn child_name(&self, idx: usize) -> DuckDbString
pub fn child_name(&self, idx: usize) -> DuckDbString
Get the name of the child by idx.
Sourcepub fn num_children(&self) -> usize
pub fn num_children(&self) -> usize
Get the number of children.
Trait Implementations§
Source§impl From<*mut _duckdb_vector> for StructVector
impl From<*mut _duckdb_vector> for StructVector
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 StructVector
impl RefUnwindSafe for StructVector
impl !Send for StructVector
impl !Sync for StructVector
impl Unpin for StructVector
impl UnwindSafe for StructVector
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