Struct aws_sdk_glue::types::UpdateCsvClassifierRequest
source · #[non_exhaustive]pub struct UpdateCsvClassifierRequest {
pub name: String,
pub delimiter: Option<String>,
pub quote_symbol: Option<String>,
pub contains_header: Option<CsvHeaderOption>,
pub header: Option<Vec<String>>,
pub disable_value_trimming: Option<bool>,
pub allow_single_column: Option<bool>,
pub custom_datatype_configured: Option<bool>,
pub custom_datatypes: Option<Vec<String>>,
pub serde: Option<CsvSerdeOption>,
}
Expand description
Specifies a custom CSV classifier to be updated.
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.name: String
The name of the classifier.
delimiter: Option<String>
A custom symbol to denote what separates each column entry in the row.
quote_symbol: Option<String>
A custom symbol to denote what combines content into a single column value. It must be different from the column delimiter.
contains_header: Option<CsvHeaderOption>
Indicates whether the CSV file contains a header.
header: Option<Vec<String>>
A list of strings representing column names.
disable_value_trimming: Option<bool>
Specifies not to trim values before identifying the type of column values. The default value is true.
allow_single_column: Option<bool>
Enables the processing of files that contain only one column.
custom_datatype_configured: Option<bool>
Specifies the configuration of custom datatypes.
custom_datatypes: Option<Vec<String>>
Specifies a list of supported custom datatypes.
serde: Option<CsvSerdeOption>
Sets the SerDe for processing CSV in the classifier, which will be applied in the Data Catalog. Valid values are OpenCSVSerDe
, LazySimpleSerDe
, and None
. You can specify the None
value when you want the crawler to do the detection.
Implementations§
source§impl UpdateCsvClassifierRequest
impl UpdateCsvClassifierRequest
sourcepub fn delimiter(&self) -> Option<&str>
pub fn delimiter(&self) -> Option<&str>
A custom symbol to denote what separates each column entry in the row.
sourcepub fn quote_symbol(&self) -> Option<&str>
pub fn quote_symbol(&self) -> Option<&str>
A custom symbol to denote what combines content into a single column value. It must be different from the column delimiter.
sourcepub fn contains_header(&self) -> Option<&CsvHeaderOption>
pub fn contains_header(&self) -> Option<&CsvHeaderOption>
Indicates whether the CSV file contains a header.
sourcepub fn header(&self) -> &[String]
pub fn header(&self) -> &[String]
A list of strings representing column names.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .header.is_none()
.
sourcepub fn disable_value_trimming(&self) -> Option<bool>
pub fn disable_value_trimming(&self) -> Option<bool>
Specifies not to trim values before identifying the type of column values. The default value is true.
sourcepub fn allow_single_column(&self) -> Option<bool>
pub fn allow_single_column(&self) -> Option<bool>
Enables the processing of files that contain only one column.
sourcepub fn custom_datatype_configured(&self) -> Option<bool>
pub fn custom_datatype_configured(&self) -> Option<bool>
Specifies the configuration of custom datatypes.
sourcepub fn custom_datatypes(&self) -> &[String]
pub fn custom_datatypes(&self) -> &[String]
Specifies a list of supported custom datatypes.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .custom_datatypes.is_none()
.
sourcepub fn serde(&self) -> Option<&CsvSerdeOption>
pub fn serde(&self) -> Option<&CsvSerdeOption>
Sets the SerDe for processing CSV in the classifier, which will be applied in the Data Catalog. Valid values are OpenCSVSerDe
, LazySimpleSerDe
, and None
. You can specify the None
value when you want the crawler to do the detection.
source§impl UpdateCsvClassifierRequest
impl UpdateCsvClassifierRequest
sourcepub fn builder() -> UpdateCsvClassifierRequestBuilder
pub fn builder() -> UpdateCsvClassifierRequestBuilder
Creates a new builder-style object to manufacture UpdateCsvClassifierRequest
.
Trait Implementations§
source§impl Clone for UpdateCsvClassifierRequest
impl Clone for UpdateCsvClassifierRequest
source§fn clone(&self) -> UpdateCsvClassifierRequest
fn clone(&self) -> UpdateCsvClassifierRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateCsvClassifierRequest
impl Debug for UpdateCsvClassifierRequest
source§impl PartialEq for UpdateCsvClassifierRequest
impl PartialEq for UpdateCsvClassifierRequest
source§fn eq(&self, other: &UpdateCsvClassifierRequest) -> bool
fn eq(&self, other: &UpdateCsvClassifierRequest) -> bool
self
and other
values to be equal, and is used
by ==
.