pub struct ColumnPtrs {
pub values_ptr: *const u8,
pub offsets_ptr: *const u8,
pub validity_ptr: *const u8,
pub stride: usize,
pub data_type: DataType,
}Expand description
Raw pointers to Arrow column buffers for zero-cost field access.
These pointers are derived from the underlying Arrow arrays and remain
valid as long as the parent DataTable (and its RecordBatch) is alive.
Fields§
§values_ptr: *const u8Pointer to the values buffer (f64, i64, bool bytes, etc.)
offsets_ptr: *const u8Pointer to the offsets buffer (for variable-length types like Utf8)
validity_ptr: *const u8Pointer to the validity bitmap (null tracking)
stride: usizeStride in bytes between consecutive values (0 for variable-length)
data_type: DataTypeArrow data type for this column
Trait Implementations§
Source§impl Clone for ColumnPtrs
impl Clone for ColumnPtrs
Source§fn clone(&self) -> ColumnPtrs
fn clone(&self) -> ColumnPtrs
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ColumnPtrs
impl Debug for ColumnPtrs
impl Send for ColumnPtrs
impl Sync for ColumnPtrs
Auto Trait Implementations§
impl Freeze for ColumnPtrs
impl RefUnwindSafe for ColumnPtrs
impl Unpin for ColumnPtrs
impl UnsafeUnpin for ColumnPtrs
impl UnwindSafe for ColumnPtrs
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