public enum SinkMode extends java.lang.Enum<SinkMode>
Mode KEEP is the default. Typically a failure will result if the resource exists and there is an attempt to write to it.
Mode REPLACE will delete/remove the resource before any attempts to write.
Mode UPDATE will attempt to re-use to the resource, if supported, and update data in place.
Modifier and Type | Method and Description |
---|---|
static SinkMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SinkMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static SinkMode[] values()
for (SinkMode c : SinkMode.values()) System.out.println(c);
public static SinkMode 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 nullCopyright © 2007-2017 Cascading Maintainers. All Rights Reserved.