Struct smartnoise_validator::base::ArrayProperties [−][src]
Derived properties for the universal ArrayND.
The ArrayNDProperties has a one-to-one mapping to a protobuf ArrayNDProperties.
Fields
num_records: Option<i64>
Defined if the number of records is known statically (set by the resize component)
num_columns: Option<i64>
nullity: bool
true if the data may contain null values
releasable: bool
set to true by the mechanisms. Acts as a filter on the values in the release
c_stability: u32
amplification of privacy usage by unstable data transformations, or possibility of duplicated records
aggregator: Option<AggregatorProperties>
set when data is aggregated, used to help compute sensitivity from the mechanisms
nature: Option<Nature>
either min/max or categories
data_type: DataType
f64, i64, bool, String
dataset_id: Option<i64>
index of last Materialize or Filter node, where dataset was created used to determine if arrays are conformable even when N is not known
node_id: i64
node index of the value
is_not_empty: bool
true if the number of rows is known to not be length zero
dimensionality: Option<i64>
number of axes in the array
group_id: Vec<GroupId>
used for tracking subpartitions
naturally_ordered: bool
used to determine if order of rows has changed
sample_proportion: Option<f64>
proportion of original data sampled
Implementations
impl ArrayProperties
[src]
pub fn lower(&self) -> Result<Array>
[src]
pub fn upper(&self) -> Result<Array>
[src]
pub fn lower_float_option(&self) -> Result<Vec<Option<Float>>>
[src]
pub fn lower_float(&self) -> Result<Vec<Float>>
[src]
pub fn upper_float_option(&self) -> Result<Vec<Option<Float>>>
[src]
pub fn upper_float(&self) -> Result<Vec<Float>>
[src]
pub fn lower_int_option(&self) -> Result<Vec<Option<Integer>>>
[src]
pub fn lower_int(&self) -> Result<Vec<Integer>>
[src]
pub fn upper_int_option(&self) -> Result<Vec<Option<Integer>>>
[src]
pub fn upper_int(&self) -> Result<Vec<Integer>>
[src]
pub fn categories(&self) -> Result<Jagged>
[src]
pub fn assert_non_null(&self) -> Result<()>
[src]
pub fn assert_is_not_empty(&self) -> Result<()>
[src]
pub fn assert_is_releasable(&self) -> Result<()>
[src]
pub fn num_columns(&self) -> Result<i64>
[src]
pub fn num_records(&self) -> Result<i64>
[src]
pub fn assert_is_not_aggregated(&self) -> Result<()>
[src]
pub fn assert_is_not_sampled(&self) -> Result<()>
[src]
Trait Implementations
impl Clone for ArrayProperties
[src]
fn clone(&self) -> ArrayProperties
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ArrayProperties
[src]
impl From<ArrayProperties> for ValueProperties
[src]
fn from(value: ArrayProperties) -> Self
[src]
Auto Trait Implementations
impl RefUnwindSafe for ArrayProperties
impl Send for ArrayProperties
impl Sync for ArrayProperties
impl Unpin for ArrayProperties
impl UnwindSafe for ArrayProperties
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>,