public static enum FileData.DuplicateKeysHandling extends java.lang.Enum<FileData.DuplicateKeysHandling>
FileDataSourceBuilder.duplicateKeysHandling
Enum Constant and Description |
---|
FAIL
Data loading will fail if keys are duplicated across files.
|
IGNORE
Keys that are duplicated across files will be ignored, and the first occurrence will be used.
|
Modifier and Type | Method and Description |
---|---|
static FileData.DuplicateKeysHandling |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FileData.DuplicateKeysHandling[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileData.DuplicateKeysHandling FAIL
public static final FileData.DuplicateKeysHandling IGNORE
public static FileData.DuplicateKeysHandling[] values()
for (FileData.DuplicateKeysHandling c : FileData.DuplicateKeysHandling.values()) System.out.println(c);
public static FileData.DuplicateKeysHandling valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null