Struct aws_sdk_glue::types::DropNullFields
source · #[non_exhaustive]pub struct DropNullFields {
pub name: String,
pub inputs: Vec<String>,
pub null_check_box_list: Option<NullCheckBoxList>,
pub null_text_list: Option<Vec<NullValueField>>,
}
Expand description
Specifies a transform that removes columns from the dataset if all values in the column are 'null'. By default, Glue Studio will recognize null objects, but some values such as empty strings, strings that are "null", -1 integers or other placeholders such as zeros, are not automatically recognized as nulls.
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 transform node.
inputs: Vec<String>
The data inputs identified by their node names.
null_check_box_list: Option<NullCheckBoxList>
A structure that represents whether certain values are recognized as null values for removal.
null_text_list: Option<Vec<NullValueField>>
A structure that specifies a list of NullValueField structures that represent a custom null value such as zero or other value being used as a null placeholder unique to the dataset.
The DropNullFields
transform removes custom null values only if both the value of the null placeholder and the datatype match the data.
Implementations§
source§impl DropNullFields
impl DropNullFields
sourcepub fn null_check_box_list(&self) -> Option<&NullCheckBoxList>
pub fn null_check_box_list(&self) -> Option<&NullCheckBoxList>
A structure that represents whether certain values are recognized as null values for removal.
sourcepub fn null_text_list(&self) -> &[NullValueField]
pub fn null_text_list(&self) -> &[NullValueField]
A structure that specifies a list of NullValueField structures that represent a custom null value such as zero or other value being used as a null placeholder unique to the dataset.
The DropNullFields
transform removes custom null values only if both the value of the null placeholder and the datatype match the data.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .null_text_list.is_none()
.
source§impl DropNullFields
impl DropNullFields
sourcepub fn builder() -> DropNullFieldsBuilder
pub fn builder() -> DropNullFieldsBuilder
Creates a new builder-style object to manufacture DropNullFields
.
Trait Implementations§
source§impl Clone for DropNullFields
impl Clone for DropNullFields
source§fn clone(&self) -> DropNullFields
fn clone(&self) -> DropNullFields
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DropNullFields
impl Debug for DropNullFields
source§impl PartialEq for DropNullFields
impl PartialEq for DropNullFields
source§fn eq(&self, other: &DropNullFields) -> bool
fn eq(&self, other: &DropNullFields) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DropNullFields
Auto Trait Implementations§
impl Freeze for DropNullFields
impl RefUnwindSafe for DropNullFields
impl Send for DropNullFields
impl Sync for DropNullFields
impl Unpin for DropNullFields
impl UnwindSafe for DropNullFields
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