Enum smartnoise_validator::base::Jagged [−][src]
The universal jagged array representation.
Typically used to store categorically clamped values. In practice, use is limited to public categories over multiple columns, and the upper triangular covariance matrix
Jagged has a one-to-one mapping to a protobuf Vector2DJagged.
Variants
Implementations
impl Jagged
[src]
pub fn float(&self) -> Result<Vec<Vec<Float>>>
[src]
Retrieve the f64 jagged matrix, assuming the data type of the jagged matrix is f64, and assuming all columns are defined
pub fn int(&self) -> Result<Vec<Vec<Integer>>>
[src]
Retrieve the i64 jagged matrix, assuming the data type of the jagged matrix is i64
pub fn string(&self) -> Result<Vec<Vec<String>>>
[src]
Retrieve the String jagged matrix, assuming the data type of the jagged matrix is String
pub fn bool(&self) -> Result<Vec<Vec<bool>>>
[src]
Retrieve the bool jagged matrix, assuming the data type of the jagged matrix is bool
pub fn num_columns(&self) -> i64
[src]
pub fn num_records(&self) -> Vec<i64>
[src]
pub fn deduplicate(&self) -> Result<Jagged>
[src]
pub fn standardize(self, num_columns: i64) -> Result<Jagged>
[src]
pub fn data_type(&self) -> DataType
[src]
pub fn to_index_keys(&self) -> Result<Vec<Vec<IndexKey>>>
[src]
Trait Implementations
impl Clone for Jagged
[src]
impl Debug for Jagged
[src]
impl From<Vec<Vec<String, Global>, Global>> for Jagged
[src]
impl From<Vec<Vec<bool, Global>, Global>> for Jagged
[src]
impl From<Vec<Vec<f64, Global>, Global>> for Jagged
[src]
impl From<Vec<Vec<i64, Global>, Global>> for Jagged
[src]
Auto Trait Implementations
impl RefUnwindSafe for Jagged
impl Send for Jagged
impl Sync for Jagged
impl Unpin for Jagged
impl UnwindSafe for Jagged
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src]
V: MultiLane<T>,