Package com.oracle.bmc.nosql.model
Enum StatementSummary.Operation
- java.lang.Object
-
- java.lang.Enum<StatementSummary.Operation>
-
- com.oracle.bmc.nosql.model.StatementSummary.Operation
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<StatementSummary.Operation>
- Enclosing class:
- StatementSummary
public static enum StatementSummary.Operation extends Enum<StatementSummary.Operation> implements BmcEnum
The operation represented in the statement, e.g.CREATE_TABLE.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AlterTable
CreateIndex
CreateTable
Delete
DropIndex
DropTable
Insert
Select
UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.Update
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StatementSummary.Operation
create(String key)
String
getValue()
static StatementSummary.Operation
valueOf(String name)
Returns the enum constant of this type with the specified name.static StatementSummary.Operation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CreateTable
public static final StatementSummary.Operation CreateTable
-
AlterTable
public static final StatementSummary.Operation AlterTable
-
DropTable
public static final StatementSummary.Operation DropTable
-
CreateIndex
public static final StatementSummary.Operation CreateIndex
-
DropIndex
public static final StatementSummary.Operation DropIndex
-
Select
public static final StatementSummary.Operation Select
-
Update
public static final StatementSummary.Operation Update
-
Insert
public static final StatementSummary.Operation Insert
-
Delete
public static final StatementSummary.Operation Delete
-
UnknownEnumValue
public static final StatementSummary.Operation UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
-
-
Method Detail
-
values
public static StatementSummary.Operation[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (StatementSummary.Operation c : StatementSummary.Operation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StatementSummary.Operation valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
create
public static StatementSummary.Operation create(String key)
-
-