public enum StatementType extends Enum<StatementType>
| Enum Constant and Description |
|---|
READ_ONLY |
READ_WRITE |
SCHEMA_WRITE |
WRITE_ONLY |
| Modifier and Type | Method and Description |
|---|---|
static StatementType |
fromCode(String type) |
static StatementType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StatementType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StatementType READ_ONLY
public static final StatementType READ_WRITE
public static final StatementType WRITE_ONLY
public static final StatementType SCHEMA_WRITE
public static StatementType[] values()
for (StatementType c : StatementType.values()) System.out.println(c);
public static StatementType 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 static StatementType fromCode(String type)
Copyright © 2017. All rights reserved.