public static enum Target.WriteMode extends Enum<Target.WriteMode>
Target
already exists.Enum Constant and Description |
---|
APPEND
If the output target does not exist, create it.
|
CHECKPOINT
If the output target exists and is newer than any of its source inputs, don't rewrite it,
just start the pipeline from here.
|
DEFAULT
Check to see if the output target already exists before running
the pipeline, and if it does, print an error and throw an exception.
|
OVERWRITE
Check to see if the output target already exists, and if it does,
delete it and overwrite it with the new output (if any).
|
Modifier and Type | Method and Description |
---|---|
static Target.WriteMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Target.WriteMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Target.WriteMode DEFAULT
public static final Target.WriteMode OVERWRITE
public static final Target.WriteMode APPEND
public static final Target.WriteMode CHECKPOINT
SourceTarget
instances.public static Target.WriteMode[] values()
for (Target.WriteMode c : Target.WriteMode.values()) System.out.println(c);
public static Target.WriteMode 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 © 2016 The Apache Software Foundation. All rights reserved.