public static enum Node.DuplicateNodeAction extends Enum<Node.DuplicateNodeAction>
Record#copyFrom(Record, DuplicateNodeAction)
,
com.northconcepts.datapipeline.transform.lookup.LookupTransformer#setDuplicateFieldAction(DuplicateNodeAction)
Enum Constant and Description |
---|
APPEND
Combines the fields into an array if either (or both) are either arrays or single valued fields, otherwise combines the fields into a single record.
|
CREATE_UNIQUE
Creates a new, unique target field by appending a number to the name.
|
FAIL
Throw an exception and stop the copy/merge.
|
OVERWRITE
Replaces the target field with the source field.
|
SKIP
Silently ignore the conflict and continue with the remaining fields.
|
Modifier and Type | Method and Description |
---|---|
static Node.DuplicateNodeAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Node.DuplicateNodeAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Node.DuplicateNodeAction APPEND
public static final Node.DuplicateNodeAction OVERWRITE
public static final Node.DuplicateNodeAction CREATE_UNIQUE
public static final Node.DuplicateNodeAction SKIP
public static final Node.DuplicateNodeAction FAIL
public static Node.DuplicateNodeAction[] values()
for (Node.DuplicateNodeAction c : Node.DuplicateNodeAction.values()) System.out.println(c);
public static Node.DuplicateNodeAction valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright (c) 2006-2024 North Concepts Inc. All Rights Reserved.