Struct aws_sdk_glue::types::JdbcTarget
source · #[non_exhaustive]pub struct JdbcTarget {
pub connection_name: Option<String>,
pub path: Option<String>,
pub exclusions: Option<Vec<String>>,
pub enable_additional_metadata: Option<Vec<JdbcMetadataEntry>>,
}Expand description
Specifies a JDBC data store to crawl.
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.connection_name: Option<String>The name of the connection to use to connect to the JDBC target.
path: Option<String>The path of the JDBC target.
exclusions: Option<Vec<String>>A list of glob patterns used to exclude from the crawl. For more information, see Catalog Tables with a Crawler.
enable_additional_metadata: Option<Vec<JdbcMetadataEntry>>Specify a value of RAWTYPES or COMMENTS to enable additional metadata in table responses. RAWTYPES provides the native-level datatype. COMMENTS provides comments associated with a column or table in the database.
If you do not need additional metadata, keep the field empty.
Implementations§
source§impl JdbcTarget
impl JdbcTarget
sourcepub fn connection_name(&self) -> Option<&str>
pub fn connection_name(&self) -> Option<&str>
The name of the connection to use to connect to the JDBC target.
sourcepub fn exclusions(&self) -> &[String]
pub fn exclusions(&self) -> &[String]
A list of glob patterns used to exclude from the crawl. For more information, see Catalog Tables with a Crawler.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .exclusions.is_none().
sourcepub fn enable_additional_metadata(&self) -> &[JdbcMetadataEntry]
pub fn enable_additional_metadata(&self) -> &[JdbcMetadataEntry]
Specify a value of RAWTYPES or COMMENTS to enable additional metadata in table responses. RAWTYPES provides the native-level datatype. COMMENTS provides comments associated with a column or table in the database.
If you do not need additional metadata, keep the field empty.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .enable_additional_metadata.is_none().
source§impl JdbcTarget
impl JdbcTarget
sourcepub fn builder() -> JdbcTargetBuilder
pub fn builder() -> JdbcTargetBuilder
Creates a new builder-style object to manufacture JdbcTarget.
Trait Implementations§
source§impl Clone for JdbcTarget
impl Clone for JdbcTarget
source§fn clone(&self) -> JdbcTarget
fn clone(&self) -> JdbcTarget
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for JdbcTarget
impl Debug for JdbcTarget
source§impl PartialEq for JdbcTarget
impl PartialEq for JdbcTarget
source§fn eq(&self, other: &JdbcTarget) -> bool
fn eq(&self, other: &JdbcTarget) -> bool
self and other values to be equal, and is used
by ==.