[][src]Struct arrow::ipc::gen::SparseTensor::SparseTensor

pub struct SparseTensor<'a> {
    pub _tab: Table<'a>,
}

Fields

_tab: Table<'a>

Methods

impl<'a> SparseTensor<'a>[src]

pub fn init_from_table(table: Table<'a>) -> Self[src]

pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>(
    _fbb: &'mut_bldr mut FlatBufferBuilder<'bldr>,
    args: &'args SparseTensorArgs<'args>
) -> WIPOffset<SparseTensor<'bldr>>
[src]

pub const VT_TYPE_TYPE: VOffsetT[src]

pub const VT_TYPE_: VOffsetT[src]

pub const VT_SHAPE: VOffsetT[src]

pub const VT_NON_ZERO_LENGTH: VOffsetT[src]

pub const VT_SPARSEINDEX_TYPE: VOffsetT[src]

pub const VT_SPARSEINDEX: VOffsetT[src]

pub const VT_DATA: VOffsetT[src]

pub fn type_type(&self) -> Type[src]

pub fn type_(&self) -> Option<Table<'a>>[src]

The type of data contained in a value cell. Currently only fixed-width value types are supported, no strings or nested types.

pub fn shape(&self) -> Option<Vector<ForwardsUOffset<TensorDim<'a>>>>[src]

The dimensions of the tensor, optionally named.

pub fn non_zero_length(&self) -> i64[src]

The number of non-zero values in a sparse tensor.

pub fn sparseIndex_type(&self) -> SparseTensorIndex[src]

pub fn sparseIndex(&self) -> Option<Table<'a>>[src]

Sparse tensor index

pub fn data(&self) -> Option<&'a Buffer>[src]

The location and size of the tensor's data

pub fn type__as_null(&'a self) -> Option<Null>[src]

pub fn type__as_int(&'a self) -> Option<Int>[src]

pub fn type__as_floating_point(&'a self) -> Option<FloatingPoint>[src]

pub fn type__as_binary(&'a self) -> Option<Binary>[src]

pub fn type__as_utf_8(&'a self) -> Option<Utf8>[src]

pub fn type__as_bool(&'a self) -> Option<Bool>[src]

pub fn type__as_decimal(&'a self) -> Option<Decimal>[src]

pub fn type__as_date(&'a self) -> Option<Date>[src]

pub fn type__as_time(&'a self) -> Option<Time>[src]

pub fn type__as_timestamp(&'a self) -> Option<Timestamp>[src]

pub fn type__as_interval(&'a self) -> Option<Interval>[src]

pub fn type__as_list(&'a self) -> Option<List>[src]

pub fn type__as_struct_(&'a self) -> Option<Struct_>[src]

pub fn type__as_union(&'a self) -> Option<Union>[src]

pub fn type__as_fixed_size_binary(&'a self) -> Option<FixedSizeBinary>[src]

pub fn type__as_fixed_size_list(&'a self) -> Option<FixedSizeList>[src]

pub fn type__as_map(&'a self) -> Option<Map>[src]

pub fn sparseIndex_as_sparse_tensor_index_coo(
    &'a self
) -> Option<SparseTensorIndexCOO>
[src]

pub fn sparseIndex_as_sparse_matrix_index_csr(
    &'a self
) -> Option<SparseMatrixIndexCSR>
[src]

Trait Implementations

impl<'a> Clone for SparseTensor<'a>[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl<'a> PartialEq<SparseTensor<'a>> for SparseTensor<'a>[src]

impl<'a> Copy for SparseTensor<'a>[src]

impl<'a> Debug for SparseTensor<'a>[src]

impl<'a> Follow<'a> for SparseTensor<'a>[src]

type Inner = SparseTensor<'a>

Auto Trait Implementations

impl<'a> Unpin for SparseTensor<'a>

impl<'a> Sync for SparseTensor<'a>

impl<'a> Send for SparseTensor<'a>

impl<'a> UnwindSafe for SparseTensor<'a>

impl<'a> RefUnwindSafe for SparseTensor<'a>

Blanket Implementations

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> FromCast<T> for T[src]

impl<T, U> Cast<U> for T where
    U: FromCast<T>, 
[src]