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 setinferSchema
to true or false for the default script generated by an Glue job. For example, to setinferSchema
to 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 setinferSchema
to true or false for the default script generated by an Glue job. For example, to setinferSchema
to 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 ==
.impl StructuralPartialEq for GetPlanInput
Auto Trait Implementations§
impl Freeze for GetPlanInput
impl RefUnwindSafe for GetPlanInput
impl Send for GetPlanInput
impl Sync for GetPlanInput
impl Unpin for GetPlanInput
impl UnwindSafe for GetPlanInput
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