#[non_exhaustive]pub struct SkewedInfo {
pub skewed_column_names: Option<Vec<String>>,
pub skewed_column_values: Option<Vec<String>>,
pub skewed_column_value_location_maps: Option<HashMap<String, String>>,
}Expand description
Specifies skewed values in a table. Skewed values are those that occur with very high frequency.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.skewed_column_names: Option<Vec<String>>A list of names of columns that contain skewed values.
skewed_column_values: Option<Vec<String>>A list of values that appear so frequently as to be considered skewed.
skewed_column_value_location_maps: Option<HashMap<String, String>>A mapping of skewed values to the columns that contain them.
Implementations§
Source§impl SkewedInfo
impl SkewedInfo
Sourcepub fn skewed_column_names(&self) -> &[String]
pub fn skewed_column_names(&self) -> &[String]
A list of names of columns that contain skewed values.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .skewed_column_names.is_none().
Sourcepub fn skewed_column_values(&self) -> &[String]
pub fn skewed_column_values(&self) -> &[String]
A list of values that appear so frequently as to be considered skewed.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .skewed_column_values.is_none().
Source§impl SkewedInfo
impl SkewedInfo
Sourcepub fn builder() -> SkewedInfoBuilder
pub fn builder() -> SkewedInfoBuilder
Creates a new builder-style object to manufacture SkewedInfo.
Trait Implementations§
Source§impl Clone for SkewedInfo
impl Clone for SkewedInfo
Source§fn clone(&self) -> SkewedInfo
fn clone(&self) -> SkewedInfo
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SkewedInfo
impl Debug for SkewedInfo
Source§impl PartialEq for SkewedInfo
impl PartialEq for SkewedInfo
Source§fn eq(&self, other: &SkewedInfo) -> bool
fn eq(&self, other: &SkewedInfo) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SkewedInfo
Auto Trait Implementations§
impl Freeze for SkewedInfo
impl RefUnwindSafe for SkewedInfo
impl Send for SkewedInfo
impl Sync for SkewedInfo
impl Unpin for SkewedInfo
impl UnsafeUnpin for SkewedInfo
impl UnwindSafe for SkewedInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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>
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>
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