ella_tensor

Trait Column

Source
pub trait Column:
    Debug
    + Send
    + Sync {
    // Required methods
    fn tensor_type(&self) -> TensorType;
    fn shape(&self) -> Dyn;
    fn strides(&self) -> Dyn;
    fn nullable(&self) -> bool;
    fn data(&self) -> ArrayData;
    fn to_arrow(&self) -> ArrayRef;

    // Provided methods
    fn arrow_type(&self) -> DataType { ... }
    fn row_shape(&self) -> Option<Dyn> { ... }
}

Required Methods§

Source

fn tensor_type(&self) -> TensorType

Source

fn shape(&self) -> Dyn

Source

fn strides(&self) -> Dyn

Source

fn nullable(&self) -> bool

Source

fn data(&self) -> ArrayData

Source

fn to_arrow(&self) -> ArrayRef

Provided Methods§

Implementors§

Source§

impl<T, S> Column for Tensor<T, S>
where T: TensorValue, S: Shape,