pub struct Null;Expand description
Marker type for Arrow DataType::Null columns.
A Null column contains only nulls. Appending a value or a null both append
a null slot. This maps to arrow_array::NullArray and uses NullBuilder.
Trait Implementations§
Source§impl ArrowBinding for Null
impl ArrowBinding for Null
Source§type Builder = NullBuilder
type Builder = NullBuilder
Concrete Arrow builder type used for this Rust type.
Source§fn new_builder(_capacity: usize) -> Self::Builder
fn new_builder(_capacity: usize) -> Self::Builder
Create a new builder with an optional capacity hint.
Source§fn append_value(b: &mut Self::Builder, _v: &Self)
fn append_value(b: &mut Self::Builder, _v: &Self)
Append a non-null value to the builder.
Source§fn append_null(b: &mut Self::Builder)
fn append_null(b: &mut Self::Builder)
Append a null to the builder.
Source§fn finish(b: Self::Builder) -> Self::Array
fn finish(b: Self::Builder) -> Self::Array
Finish the builder and produce a typed Arrow array.
Source§fn estimated_bytes_per_value() -> usize
fn estimated_bytes_per_value() -> usize
Estimated bytes per value for variable-length types (String, Binary, etc.).
Returns 0 for fixed-size types. Used to pre-allocate buffer space.
Auto Trait Implementations§
impl Freeze for Null
impl RefUnwindSafe for Null
impl Send for Null
impl Sync for Null
impl Unpin for Null
impl UnwindSafe for Null
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