Struct aws_sdk_glue::types::JdbcConnectorSource
source · #[non_exhaustive]pub struct JdbcConnectorSource {
pub name: String,
pub connection_name: String,
pub connector_name: String,
pub connection_type: String,
pub additional_options: Option<JdbcConnectorOptions>,
pub connection_table: Option<String>,
pub query: Option<String>,
pub output_schemas: Option<Vec<GlueSchema>>,
}
Expand description
Specifies a connector to a JDBC data source.
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 data source.
connection_name: String
The name of the connection that is associated with the connector.
connector_name: String
The name of a connector that assists with accessing the data store in Glue Studio.
connection_type: String
The type of connection, such as marketplace.jdbc or custom.jdbc, designating a connection to a JDBC data store.
additional_options: Option<JdbcConnectorOptions>
Additional connection options for the connector.
connection_table: Option<String>
The name of the table in the data source.
query: Option<String>
The table or SQL query to get the data from. You can specify either ConnectionTable
or query
, but not both.
output_schemas: Option<Vec<GlueSchema>>
Specifies the data schema for the custom JDBC source.
Implementations§
source§impl JdbcConnectorSource
impl JdbcConnectorSource
sourcepub fn connection_name(&self) -> &str
pub fn connection_name(&self) -> &str
The name of the connection that is associated with the connector.
sourcepub fn connector_name(&self) -> &str
pub fn connector_name(&self) -> &str
The name of a connector that assists with accessing the data store in Glue Studio.
sourcepub fn connection_type(&self) -> &str
pub fn connection_type(&self) -> &str
The type of connection, such as marketplace.jdbc or custom.jdbc, designating a connection to a JDBC data store.
sourcepub fn additional_options(&self) -> Option<&JdbcConnectorOptions>
pub fn additional_options(&self) -> Option<&JdbcConnectorOptions>
Additional connection options for the connector.
sourcepub fn connection_table(&self) -> Option<&str>
pub fn connection_table(&self) -> Option<&str>
The name of the table in the data source.
sourcepub fn query(&self) -> Option<&str>
pub fn query(&self) -> Option<&str>
The table or SQL query to get the data from. You can specify either ConnectionTable
or query
, but not both.
sourcepub fn output_schemas(&self) -> &[GlueSchema]
pub fn output_schemas(&self) -> &[GlueSchema]
Specifies the data schema for the custom JDBC source.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .output_schemas.is_none()
.
source§impl JdbcConnectorSource
impl JdbcConnectorSource
sourcepub fn builder() -> JdbcConnectorSourceBuilder
pub fn builder() -> JdbcConnectorSourceBuilder
Creates a new builder-style object to manufacture JdbcConnectorSource
.
Trait Implementations§
source§impl Clone for JdbcConnectorSource
impl Clone for JdbcConnectorSource
source§fn clone(&self) -> JdbcConnectorSource
fn clone(&self) -> JdbcConnectorSource
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for JdbcConnectorSource
impl Debug for JdbcConnectorSource
source§impl PartialEq for JdbcConnectorSource
impl PartialEq for JdbcConnectorSource
source§fn eq(&self, other: &JdbcConnectorSource) -> bool
fn eq(&self, other: &JdbcConnectorSource) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for JdbcConnectorSource
Auto Trait Implementations§
impl Freeze for JdbcConnectorSource
impl RefUnwindSafe for JdbcConnectorSource
impl Send for JdbcConnectorSource
impl Sync for JdbcConnectorSource
impl Unpin for JdbcConnectorSource
impl UnwindSafe for JdbcConnectorSource
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