Struct aws_sdk_glue::types::ColumnStatisticsTaskRun
source · #[non_exhaustive]pub struct ColumnStatisticsTaskRun {Show 18 fields
pub customer_id: Option<String>,
pub column_statistics_task_run_id: Option<String>,
pub database_name: Option<String>,
pub table_name: Option<String>,
pub column_name_list: Option<Vec<String>>,
pub catalog_id: Option<String>,
pub role: Option<String>,
pub sample_size: f64,
pub security_configuration: Option<String>,
pub number_of_workers: i32,
pub worker_type: Option<String>,
pub status: Option<ColumnStatisticsState>,
pub creation_time: Option<DateTime>,
pub last_updated: Option<DateTime>,
pub start_time: Option<DateTime>,
pub end_time: Option<DateTime>,
pub error_message: Option<String>,
pub dpu_seconds: f64,
}Expand description
The object that shows the details of the column stats run.
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.customer_id: Option<String>The Amazon Web Services account ID.
column_statistics_task_run_id: Option<String>The identifier for the particular column statistics task run.
database_name: Option<String>The database where the table resides.
table_name: Option<String>The name of the table for which column statistics is generated.
column_name_list: Option<Vec<String>>A list of the column names. If none is supplied, all column names for the table will be used by default.
catalog_id: Option<String>The ID of the Data Catalog where the table resides. If none is supplied, the Amazon Web Services account ID is used by default.
role: Option<String>The IAM role that the service assumes to generate statistics.
sample_size: f64The percentage of rows used to generate statistics. If none is supplied, the entire table will be used to generate stats.
security_configuration: Option<String>Name of the security configuration that is used to encrypt CloudWatch logs for the column stats task run.
number_of_workers: i32The number of workers used to generate column statistics. The job is preconfigured to autoscale up to 25 instances.
worker_type: Option<String>The type of workers being used for generating stats. The default is g.1x.
status: Option<ColumnStatisticsState>The status of the task run.
creation_time: Option<DateTime>The time that this task was created.
last_updated: Option<DateTime>The last point in time when this task was modified.
start_time: Option<DateTime>The start time of the task.
end_time: Option<DateTime>The end time of the task.
error_message: Option<String>The error message for the job.
dpu_seconds: f64The calculated DPU usage in seconds for all autoscaled workers.
Implementations§
source§impl ColumnStatisticsTaskRun
impl ColumnStatisticsTaskRun
sourcepub fn customer_id(&self) -> Option<&str>
pub fn customer_id(&self) -> Option<&str>
The Amazon Web Services account ID.
sourcepub fn column_statistics_task_run_id(&self) -> Option<&str>
pub fn column_statistics_task_run_id(&self) -> Option<&str>
The identifier for the particular column statistics task run.
sourcepub fn database_name(&self) -> Option<&str>
pub fn database_name(&self) -> Option<&str>
The database where the table resides.
sourcepub fn table_name(&self) -> Option<&str>
pub fn table_name(&self) -> Option<&str>
The name of the table for which column statistics is generated.
sourcepub fn column_name_list(&self) -> &[String]
pub fn column_name_list(&self) -> &[String]
A list of the column names. If none is supplied, all column names for the table will be used by default.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .column_name_list.is_none().
sourcepub fn catalog_id(&self) -> Option<&str>
pub fn catalog_id(&self) -> Option<&str>
The ID of the Data Catalog where the table resides. If none is supplied, the Amazon Web Services account ID is used by default.
sourcepub fn role(&self) -> Option<&str>
pub fn role(&self) -> Option<&str>
The IAM role that the service assumes to generate statistics.
sourcepub fn sample_size(&self) -> f64
pub fn sample_size(&self) -> f64
The percentage of rows used to generate statistics. If none is supplied, the entire table will be used to generate stats.
sourcepub fn security_configuration(&self) -> Option<&str>
pub fn security_configuration(&self) -> Option<&str>
Name of the security configuration that is used to encrypt CloudWatch logs for the column stats task run.
sourcepub fn number_of_workers(&self) -> i32
pub fn number_of_workers(&self) -> i32
The number of workers used to generate column statistics. The job is preconfigured to autoscale up to 25 instances.
sourcepub fn worker_type(&self) -> Option<&str>
pub fn worker_type(&self) -> Option<&str>
The type of workers being used for generating stats. The default is g.1x.
sourcepub fn status(&self) -> Option<&ColumnStatisticsState>
pub fn status(&self) -> Option<&ColumnStatisticsState>
The status of the task run.
sourcepub fn creation_time(&self) -> Option<&DateTime>
pub fn creation_time(&self) -> Option<&DateTime>
The time that this task was created.
sourcepub fn last_updated(&self) -> Option<&DateTime>
pub fn last_updated(&self) -> Option<&DateTime>
The last point in time when this task was modified.
sourcepub fn start_time(&self) -> Option<&DateTime>
pub fn start_time(&self) -> Option<&DateTime>
The start time of the task.
sourcepub fn error_message(&self) -> Option<&str>
pub fn error_message(&self) -> Option<&str>
The error message for the job.
sourcepub fn dpu_seconds(&self) -> f64
pub fn dpu_seconds(&self) -> f64
The calculated DPU usage in seconds for all autoscaled workers.
source§impl ColumnStatisticsTaskRun
impl ColumnStatisticsTaskRun
sourcepub fn builder() -> ColumnStatisticsTaskRunBuilder
pub fn builder() -> ColumnStatisticsTaskRunBuilder
Creates a new builder-style object to manufacture ColumnStatisticsTaskRun.
Trait Implementations§
source§impl Clone for ColumnStatisticsTaskRun
impl Clone for ColumnStatisticsTaskRun
source§fn clone(&self) -> ColumnStatisticsTaskRun
fn clone(&self) -> ColumnStatisticsTaskRun
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ColumnStatisticsTaskRun
impl Debug for ColumnStatisticsTaskRun
source§impl PartialEq for ColumnStatisticsTaskRun
impl PartialEq for ColumnStatisticsTaskRun
source§fn eq(&self, other: &ColumnStatisticsTaskRun) -> bool
fn eq(&self, other: &ColumnStatisticsTaskRun) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ColumnStatisticsTaskRun
Auto Trait Implementations§
impl Freeze for ColumnStatisticsTaskRun
impl RefUnwindSafe for ColumnStatisticsTaskRun
impl Send for ColumnStatisticsTaskRun
impl Sync for ColumnStatisticsTaskRun
impl Unpin for ColumnStatisticsTaskRun
impl UnwindSafe for ColumnStatisticsTaskRun
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> 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