Struct aws_sdk_glue::operation::get_plan::GetPlanInput
source · #[non_exhaustive]pub struct GetPlanInput {
pub mapping: Option<Vec<MappingEntry>>,
pub source: Option<CatalogEntry>,
pub sinks: Option<Vec<CatalogEntry>>,
pub location: Option<Location>,
pub language: Option<Language>,
pub additional_plan_options_map: Option<HashMap<String, String>>,
}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.mapping: Option<Vec<MappingEntry>>The list of mappings from a source table to target tables.
source: Option<CatalogEntry>The source table.
sinks: Option<Vec<CatalogEntry>>The target tables.
location: Option<Location>The parameters for the mapping.
language: Option<Language>The programming language of the code to perform the mapping.
additional_plan_options_map: Option<HashMap<String, String>>A map to hold additional optional key-value parameters.
Currently, these key-value pairs are supported:
-
inferSchema— Specifies whether to setinferSchemato true or false for the default script generated by an Glue job. For example, to setinferSchemato true, pass the following key value pair:--additional-plan-options-map '{"inferSchema":"true"}'
Implementations§
source§impl GetPlanInput
impl GetPlanInput
sourcepub fn mapping(&self) -> &[MappingEntry]
pub fn mapping(&self) -> &[MappingEntry]
The list of mappings from a source table to target tables.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .mapping.is_none().
sourcepub fn source(&self) -> Option<&CatalogEntry>
pub fn source(&self) -> Option<&CatalogEntry>
The source table.
sourcepub fn sinks(&self) -> &[CatalogEntry]
pub fn sinks(&self) -> &[CatalogEntry]
The target tables.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .sinks.is_none().
sourcepub fn language(&self) -> Option<&Language>
pub fn language(&self) -> Option<&Language>
The programming language of the code to perform the mapping.
sourcepub fn additional_plan_options_map(&self) -> Option<&HashMap<String, String>>
pub fn additional_plan_options_map(&self) -> Option<&HashMap<String, String>>
A map to hold additional optional key-value parameters.
Currently, these key-value pairs are supported:
-
inferSchema— Specifies whether to setinferSchemato true or false for the default script generated by an Glue job. For example, to setinferSchemato true, pass the following key value pair:--additional-plan-options-map '{"inferSchema":"true"}'
source§impl GetPlanInput
impl GetPlanInput
sourcepub fn builder() -> GetPlanInputBuilder
pub fn builder() -> GetPlanInputBuilder
Creates a new builder-style object to manufacture GetPlanInput.
Trait Implementations§
source§impl Clone for GetPlanInput
impl Clone for GetPlanInput
source§fn clone(&self) -> GetPlanInput
fn clone(&self) -> GetPlanInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GetPlanInput
impl Debug for GetPlanInput
source§impl PartialEq for GetPlanInput
impl PartialEq for GetPlanInput
source§fn eq(&self, other: &GetPlanInput) -> bool
fn eq(&self, other: &GetPlanInput) -> bool
self and other values to be equal, and is used
by ==.