public enum SOperationStatus extends java.lang.Enum<SOperationStatus>
Enum Constant and Description |
---|
KEYEMPTY
The cursor operation was unsuccessful because the current record was
deleted.
|
KEYEXIST
The operation to insert data was configured to not allow overwrite and
the key already exists in the database.
|
NOTFOUND
The requested key/data pair was not found.
|
SUCCESS
The operation was successful.
|
Modifier and Type | Method and Description |
---|---|
static SOperationStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SOperationStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SOperationStatus KEYEMPTY
public static final SOperationStatus KEYEXIST
public static final SOperationStatus NOTFOUND
public static final SOperationStatus SUCCESS
public static SOperationStatus[] values()
for (SOperationStatus c : SOperationStatus.values()) System.out.println(c);
public static SOperationStatus 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 (c) 2016, 2019 Oracle and/or its affiliates. All rights reserved.