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 ==
.impl StructuralPartialEq for JdbcTarget
Auto Trait Implementations§
impl Freeze for JdbcTarget
impl RefUnwindSafe for JdbcTarget
impl Send for JdbcTarget
impl Sync for JdbcTarget
impl Unpin for JdbcTarget
impl UnwindSafe for JdbcTarget
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