public enum WriteObjectFlags extends Enum<WriteObjectFlags>
| Enum Constant and Description |
|---|
ConditionalOverwrite |
ConditionalOverwriteEtag |
CreateMultipart |
Performance |
Recursive |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasKey(String k)
Does the key of this option match the parameter?
|
boolean |
isEnabled(org.apache.hadoop.conf.Configuration options)
does the configuration contain this option as a boolean?
|
static WriteObjectFlags |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WriteObjectFlags[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WriteObjectFlags ConditionalOverwrite
public static final WriteObjectFlags ConditionalOverwriteEtag
public static final WriteObjectFlags CreateMultipart
public static final WriteObjectFlags Performance
public static final WriteObjectFlags Recursive
public static WriteObjectFlags[] values()
for (WriteObjectFlags c : WriteObjectFlags.values()) System.out.println(c);
public static WriteObjectFlags 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 nullpublic boolean isEnabled(org.apache.hadoop.conf.Configuration options)
options - options to scanpublic boolean hasKey(String k)
k - keyCopyright © 2008–2025 Apache Software Foundation. All rights reserved.