@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Merge extends Object implements Serializable, Cloneable, StructuredPojo
Specifies a transform that merges a DynamicFrame
with a staging DynamicFrame
based on the
specified primary keys to identify records. Duplicate records (records with the same primary keys) are not
de-duplicated.
Constructor and Description |
---|
Merge() |
Modifier and Type | Method and Description |
---|---|
Merge |
clone() |
boolean |
equals(Object obj) |
List<String> |
getInputs()
The data inputs identified by their node names.
|
String |
getName()
The name of the transform node.
|
List<List<String>> |
getPrimaryKeys()
The list of primary key fields to match records from the source and staging dynamic frames.
|
String |
getSource()
The source
DynamicFrame that will be merged with a staging DynamicFrame . |
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 |
setPrimaryKeys(Collection<List<String>> primaryKeys)
The list of primary key fields to match records from the source and staging dynamic frames.
|
void |
setSource(String source)
The source
DynamicFrame that will be merged with a staging DynamicFrame . |
String |
toString()
Returns a string representation of this object.
|
Merge |
withInputs(Collection<String> inputs)
The data inputs identified by their node names.
|
Merge |
withInputs(String... inputs)
The data inputs identified by their node names.
|
Merge |
withName(String name)
The name of the transform node.
|
Merge |
withPrimaryKeys(Collection<List<String>> primaryKeys)
The list of primary key fields to match records from the source and staging dynamic frames.
|
Merge |
withPrimaryKeys(List<String>... primaryKeys)
The list of primary key fields to match records from the source and staging dynamic frames.
|
Merge |
withSource(String source)
The source
DynamicFrame that will be merged with a staging DynamicFrame . |
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 Merge 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 Merge 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 Merge withInputs(Collection<String> inputs)
The data inputs identified by their node names.
inputs
- The data inputs identified by their node names.public void setSource(String source)
The source DynamicFrame
that will be merged with a staging DynamicFrame
.
source
- The source DynamicFrame
that will be merged with a staging DynamicFrame
.public String getSource()
The source DynamicFrame
that will be merged with a staging DynamicFrame
.
DynamicFrame
that will be merged with a staging DynamicFrame
.public Merge withSource(String source)
The source DynamicFrame
that will be merged with a staging DynamicFrame
.
source
- The source DynamicFrame
that will be merged with a staging DynamicFrame
.public List<List<String>> getPrimaryKeys()
The list of primary key fields to match records from the source and staging dynamic frames.
public void setPrimaryKeys(Collection<List<String>> primaryKeys)
The list of primary key fields to match records from the source and staging dynamic frames.
primaryKeys
- The list of primary key fields to match records from the source and staging dynamic frames.public Merge withPrimaryKeys(List<String>... primaryKeys)
The list of primary key fields to match records from the source and staging dynamic frames.
NOTE: This method appends the values to the existing list (if any). Use
setPrimaryKeys(java.util.Collection)
or withPrimaryKeys(java.util.Collection)
if you want to
override the existing values.
primaryKeys
- The list of primary key fields to match records from the source and staging dynamic frames.public Merge withPrimaryKeys(Collection<List<String>> primaryKeys)
The list of primary key fields to match records from the source and staging dynamic frames.
primaryKeys
- The list of primary key fields to match records from the source and staging dynamic frames.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.