public static enum Target.WriteMode extends Enum<Target.WriteMode>
Target already exists.| Enum Constant and Description | 
|---|
| APPENDIf the output target does not exist, create it. | 
| CHECKPOINTIf the output target exists and is newer than any of its source inputs, don't rewrite it,
 just start the pipeline from here. | 
| DEFAULTCheck to see if the output target already exists before running
 the pipeline, and if it does, print an error and throw an exception. | 
| OVERWRITECheck 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 © 2017 The Apache Software Foundation. All rights reserved.