#[non_exhaustive]
pub struct ProfileConfigurationBuilder { /* private fields */ }
Expand description

A builder for ProfileConfiguration.

Implementations§

source§

impl ProfileConfigurationBuilder

source

pub fn dataset_statistics_configuration( self, input: StatisticsConfiguration ) -> Self

Configuration for inter-column evaluations. Configuration can be used to select evaluations and override parameters of evaluations. When configuration is undefined, the profile job will run all supported inter-column evaluations.

source

pub fn set_dataset_statistics_configuration( self, input: Option<StatisticsConfiguration> ) -> Self

Configuration for inter-column evaluations. Configuration can be used to select evaluations and override parameters of evaluations. When configuration is undefined, the profile job will run all supported inter-column evaluations.

source

pub fn get_dataset_statistics_configuration( &self ) -> &Option<StatisticsConfiguration>

Configuration for inter-column evaluations. Configuration can be used to select evaluations and override parameters of evaluations. When configuration is undefined, the profile job will run all supported inter-column evaluations.

source

pub fn profile_columns(self, input: ColumnSelector) -> Self

Appends an item to profile_columns.

To override the contents of this collection use set_profile_columns.

List of column selectors. ProfileColumns can be used to select columns from the dataset. When ProfileColumns is undefined, the profile job will profile all supported columns.

source

pub fn set_profile_columns(self, input: Option<Vec<ColumnSelector>>) -> Self

List of column selectors. ProfileColumns can be used to select columns from the dataset. When ProfileColumns is undefined, the profile job will profile all supported columns.

source

pub fn get_profile_columns(&self) -> &Option<Vec<ColumnSelector>>

List of column selectors. ProfileColumns can be used to select columns from the dataset. When ProfileColumns is undefined, the profile job will profile all supported columns.

source

pub fn column_statistics_configurations( self, input: ColumnStatisticsConfiguration ) -> Self

Appends an item to column_statistics_configurations.

To override the contents of this collection use set_column_statistics_configurations.

List of configurations for column evaluations. ColumnStatisticsConfigurations are used to select evaluations and override parameters of evaluations for particular columns. When ColumnStatisticsConfigurations is undefined, the profile job will profile all supported columns and run all supported evaluations.

source

pub fn set_column_statistics_configurations( self, input: Option<Vec<ColumnStatisticsConfiguration>> ) -> Self

List of configurations for column evaluations. ColumnStatisticsConfigurations are used to select evaluations and override parameters of evaluations for particular columns. When ColumnStatisticsConfigurations is undefined, the profile job will profile all supported columns and run all supported evaluations.

source

pub fn get_column_statistics_configurations( &self ) -> &Option<Vec<ColumnStatisticsConfiguration>>

List of configurations for column evaluations. ColumnStatisticsConfigurations are used to select evaluations and override parameters of evaluations for particular columns. When ColumnStatisticsConfigurations is undefined, the profile job will profile all supported columns and run all supported evaluations.

source

pub fn entity_detector_configuration( self, input: EntityDetectorConfiguration ) -> Self

Configuration of entity detection for a profile job. When undefined, entity detection is disabled.

source

pub fn set_entity_detector_configuration( self, input: Option<EntityDetectorConfiguration> ) -> Self

Configuration of entity detection for a profile job. When undefined, entity detection is disabled.

source

pub fn get_entity_detector_configuration( &self ) -> &Option<EntityDetectorConfiguration>

Configuration of entity detection for a profile job. When undefined, entity detection is disabled.

source

pub fn build(self) -> ProfileConfiguration

Consumes the builder and constructs a ProfileConfiguration.

Trait Implementations§

source§

impl Clone for ProfileConfigurationBuilder

source§

fn clone(&self) -> ProfileConfigurationBuilder

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ProfileConfigurationBuilder

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for ProfileConfigurationBuilder

source§

fn default() -> ProfileConfigurationBuilder

Returns the “default value” for a type. Read more
source§

impl PartialEq<ProfileConfigurationBuilder> for ProfileConfigurationBuilder

source§

fn eq(&self, other: &ProfileConfigurationBuilder) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl StructuralPartialEq for ProfileConfigurationBuilder

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more