public static enum FileOutputFormat.OutputDirectoryMode extends Enum<FileOutputFormat.OutputDirectoryMode>
Enum Constant and Description |
---|
ALWAYS
A directory is always created, regardless of number of write tasks.
|
PARONLY
A directory is only created for parallel output tasks, i.e., number of output tasks > 1.
|
Modifier and Type | Method and Description |
---|---|
static FileOutputFormat.OutputDirectoryMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileOutputFormat.OutputDirectoryMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileOutputFormat.OutputDirectoryMode ALWAYS
public static final FileOutputFormat.OutputDirectoryMode PARONLY
public static FileOutputFormat.OutputDirectoryMode[] values()
for (FileOutputFormat.OutputDirectoryMode c : FileOutputFormat.OutputDirectoryMode.values()) System.out.println(c);
public static FileOutputFormat.OutputDirectoryMode 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 © 2014–2019 The Apache Software Foundation. All rights reserved.