Struct aws_sdk_glue::types::SparkConnectorSource
source · #[non_exhaustive]pub struct SparkConnectorSource {
pub name: String,
pub connection_name: String,
pub connector_name: String,
pub connection_type: String,
pub additional_options: Option<HashMap<String, String>>,
pub output_schemas: Option<Vec<GlueSchema>>,
}Expand description
Specifies a connector to an Apache Spark 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: StringThe name of the data source.
connection_name: StringThe name of the connection that is associated with the connector.
connector_name: StringThe name of a connector that assists with accessing the data store in Glue Studio.
connection_type: StringThe type of connection, such as marketplace.spark or custom.spark, designating a connection to an Apache Spark data store.
additional_options: Option<HashMap<String, String>>Additional connection options for the connector.
output_schemas: Option<Vec<GlueSchema>>Specifies data schema for the custom spark source.
Implementations§
source§impl SparkConnectorSource
impl SparkConnectorSource
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.spark or custom.spark, designating a connection to an Apache Spark data store.
sourcepub fn additional_options(&self) -> Option<&HashMap<String, String>>
pub fn additional_options(&self) -> Option<&HashMap<String, String>>
Additional connection options for the connector.
sourcepub fn output_schemas(&self) -> &[GlueSchema]
pub fn output_schemas(&self) -> &[GlueSchema]
Specifies data schema for the custom spark 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 SparkConnectorSource
impl SparkConnectorSource
sourcepub fn builder() -> SparkConnectorSourceBuilder
pub fn builder() -> SparkConnectorSourceBuilder
Creates a new builder-style object to manufacture SparkConnectorSource.
Trait Implementations§
source§impl Clone for SparkConnectorSource
impl Clone for SparkConnectorSource
source§fn clone(&self) -> SparkConnectorSource
fn clone(&self) -> SparkConnectorSource
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for SparkConnectorSource
impl Debug for SparkConnectorSource
source§impl PartialEq for SparkConnectorSource
impl PartialEq for SparkConnectorSource
source§fn eq(&self, other: &SparkConnectorSource) -> bool
fn eq(&self, other: &SparkConnectorSource) -> bool
self and other values to be equal, and is used
by ==.