public enum WriteStatus extends Enum<WriteStatus>
| Enum Constant and Description |
|---|
ABORTED
Write was aborted (ex: if one or more write operations in a batch fail, others are aborted).
|
NO_SUCH_TABLE
Write failed due to an invalid table name being specified.
|
OK
Write completed successfully.
|
PRECONDITION_VIOLATION
Write failed due to pre-condition failure.
|
| Modifier and Type | Method and Description |
|---|---|
static WriteStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WriteStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WriteStatus OK
public static final WriteStatus ABORTED
public static final WriteStatus PRECONDITION_VIOLATION
public static final WriteStatus NO_SUCH_TABLE
public static WriteStatus[] values()
for (WriteStatus c : WriteStatus.values()) System.out.println(c);
public static WriteStatus 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 © 2015. All rights reserved.