public enum StandardWriteOption extends Enum<StandardWriteOption> implements WriteOption
| Enum Constant and Description |
|---|
CLOSE
Close the data to the underlying storage.
|
SYNC
Sync the data to the underlying storage.
|
| Modifier and Type | Method and Description |
|---|---|
static StandardWriteOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StandardWriteOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfcontainsOption, isOneOfpublic static final StandardWriteOption SYNC
public static final StandardWriteOption CLOSE
public static StandardWriteOption[] values()
for (StandardWriteOption c : StandardWriteOption.values()) System.out.println(c);
public static StandardWriteOption 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–2022 The Apache Software Foundation. All rights reserved.