@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DropNullFields extends Object implements Serializable, Cloneable, StructuredPojo
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.
Constructor and Description |
---|
DropNullFields() |
Modifier and Type | Method and Description |
---|---|
DropNullFields |
clone() |
boolean |
equals(Object obj) |
List<String> |
getInputs()
The data inputs identified by their node names.
|
String |
getName()
The name of the transform node.
|
NullCheckBoxList |
getNullCheckBoxList()
A structure that represents whether certain values are recognized as null values for removal.
|
List<NullValueField> |
getNullTextList()
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.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setInputs(Collection<String> inputs)
The data inputs identified by their node names.
|
void |
setName(String name)
The name of the transform node.
|
void |
setNullCheckBoxList(NullCheckBoxList nullCheckBoxList)
A structure that represents whether certain values are recognized as null values for removal.
|
void |
setNullTextList(Collection<NullValueField> nullTextList)
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.
|
String |
toString()
Returns a string representation of this object.
|
DropNullFields |
withInputs(Collection<String> inputs)
The data inputs identified by their node names.
|
DropNullFields |
withInputs(String... inputs)
The data inputs identified by their node names.
|
DropNullFields |
withName(String name)
The name of the transform node.
|
DropNullFields |
withNullCheckBoxList(NullCheckBoxList nullCheckBoxList)
A structure that represents whether certain values are recognized as null values for removal.
|
DropNullFields |
withNullTextList(Collection<NullValueField> nullTextList)
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.
|
DropNullFields |
withNullTextList(NullValueField... nullTextList)
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.
|
public void setName(String name)
The name of the transform node.
name
- The name of the transform node.public String getName()
The name of the transform node.
public DropNullFields withName(String name)
The name of the transform node.
name
- The name of the transform node.public List<String> getInputs()
The data inputs identified by their node names.
public void setInputs(Collection<String> inputs)
The data inputs identified by their node names.
inputs
- The data inputs identified by their node names.public DropNullFields withInputs(String... inputs)
The data inputs identified by their node names.
NOTE: This method appends the values to the existing list (if any). Use
setInputs(java.util.Collection)
or withInputs(java.util.Collection)
if you want to override the
existing values.
inputs
- The data inputs identified by their node names.public DropNullFields withInputs(Collection<String> inputs)
The data inputs identified by their node names.
inputs
- The data inputs identified by their node names.public void setNullCheckBoxList(NullCheckBoxList nullCheckBoxList)
A structure that represents whether certain values are recognized as null values for removal.
nullCheckBoxList
- A structure that represents whether certain values are recognized as null values for removal.public NullCheckBoxList getNullCheckBoxList()
A structure that represents whether certain values are recognized as null values for removal.
public DropNullFields withNullCheckBoxList(NullCheckBoxList nullCheckBoxList)
A structure that represents whether certain values are recognized as null values for removal.
nullCheckBoxList
- A structure that represents whether certain values are recognized as null values for removal.public List<NullValueField> getNullTextList()
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.
The DropNullFields
transform removes custom null values only if both the value of the null
placeholder and the datatype match the data.
public void setNullTextList(Collection<NullValueField> nullTextList)
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.
nullTextList
- 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.
public DropNullFields withNullTextList(NullValueField... nullTextList)
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.
NOTE: This method appends the values to the existing list (if any). Use
setNullTextList(java.util.Collection)
or withNullTextList(java.util.Collection)
if you want to
override the existing values.
nullTextList
- 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.
public DropNullFields withNullTextList(Collection<NullValueField> nullTextList)
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.
nullTextList
- 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.
public String toString()
toString
in class Object
Object.toString()
public DropNullFields clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.