pub struct Float64Column { /* private fields */ }Expand description
Structure representing a Float64 column
Implementations§
Source§impl Float64Column
impl Float64Column
Sourcepub fn with_name(data: Vec<f64>, name: impl Into<String>) -> Self
pub fn with_name(data: Vec<f64>, name: impl Into<String>) -> Self
Create a Float64Column with a name
Sourcepub fn with_nulls(data: Vec<f64>, nulls: Vec<bool>) -> Self
pub fn with_nulls(data: Vec<f64>, nulls: Vec<bool>) -> Self
Create a Float64Column with NULL values
Sourcepub fn data(&self) -> &[f64]
pub fn data(&self) -> &[f64]
Get a reference to the underlying data (for testing and demonstration)
Trait Implementations§
Source§impl Clone for Float64Column
impl Clone for Float64Column
Source§fn clone(&self) -> Float64Column
fn clone(&self) -> Float64Column
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 ColumnTrait for Float64Column
impl ColumnTrait for Float64Column
Source§fn column_type(&self) -> ColumnType
fn column_type(&self) -> ColumnType
Returns the type of the column
Source§fn clone_column(&self) -> Column
fn clone_column(&self) -> Column
Clones the column
Source§impl Debug for Float64Column
impl Debug for Float64Column
Source§impl From<Float64Column> for Column
impl From<Float64Column> for Column
Source§fn from(col: Float64Column) -> Self
fn from(col: Float64Column) -> Self
Converts to this type from the input type.
Source§impl SIMDFloat64Ops for Float64Column
impl SIMDFloat64Ops for Float64Column
Source§fn simd_add(&self, other: &Float64Column) -> Result<Float64Column>
fn simd_add(&self, other: &Float64Column) -> Result<Float64Column>
Element-wise addition with another Float64Column using SIMD
Source§fn simd_subtract(&self, other: &Float64Column) -> Result<Float64Column>
fn simd_subtract(&self, other: &Float64Column) -> Result<Float64Column>
Element-wise subtraction with another Float64Column using SIMD
Source§fn simd_multiply(&self, other: &Float64Column) -> Result<Float64Column>
fn simd_multiply(&self, other: &Float64Column) -> Result<Float64Column>
Element-wise multiplication with another Float64Column using SIMD
Source§fn simd_divide(&self, other: &Float64Column) -> Result<Float64Column>
fn simd_divide(&self, other: &Float64Column) -> Result<Float64Column>
Element-wise division with another Float64Column using SIMD
Source§fn simd_add_scalar(&self, scalar: f64) -> Result<Float64Column>
fn simd_add_scalar(&self, scalar: f64) -> Result<Float64Column>
Scalar addition using SIMD
Source§fn simd_multiply_scalar(&self, scalar: f64) -> Result<Float64Column>
fn simd_multiply_scalar(&self, scalar: f64) -> Result<Float64Column>
Scalar multiplication using SIMD
Source§fn simd_abs(&self) -> Result<Float64Column>
fn simd_abs(&self) -> Result<Float64Column>
Absolute value using SIMD
Source§fn simd_sqrt(&self) -> Result<Float64Column>
fn simd_sqrt(&self) -> Result<Float64Column>
Square root using SIMD
Source§fn simd_compare(
&self,
other: &Float64Column,
op: ComparisonOp,
) -> Result<Vec<bool>>
fn simd_compare( &self, other: &Float64Column, op: ComparisonOp, ) -> Result<Vec<bool>>
Element-wise comparison using SIMD
Source§fn simd_compare_scalar(
&self,
scalar: f64,
op: ComparisonOp,
) -> Result<Vec<bool>>
fn simd_compare_scalar( &self, scalar: f64, op: ComparisonOp, ) -> Result<Vec<bool>>
Scalar comparison using SIMD
Auto Trait Implementations§
impl Freeze for Float64Column
impl RefUnwindSafe for Float64Column
impl Send for Float64Column
impl Sync for Float64Column
impl Unpin for Float64Column
impl UnwindSafe for Float64Column
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> ColumnCast for Twhere
T: ColumnTrait,
impl<T> ColumnCast for Twhere
T: ColumnTrait,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more