public static enum MysqlxCrud.ViewCheckOption extends java.lang.Enum<MysqlxCrud.ViewCheckOption> implements com.google.protobuf.ProtocolMessageEnum
ViewCheckOption limits the write operations done on a `VIEW` (`INSERT`, `UPDATE`, `DELETE`) to rows in which the `WHERE` clause is `TRUE`Protobuf enum
Mysqlx.Crud.ViewCheckOption| Enum Constant and Description |
|---|
CASCADED
the view WHERE clause is checked, then checking recurses
to underlying views
|
LOCAL
the view WHERE clause is checked, but no underlying views are checked
|
| Modifier and Type | Field and Description |
|---|---|
static int |
CASCADED_VALUE
the view WHERE clause is checked, then checking recurses
to underlying views
|
static int |
LOCAL_VALUE
the view WHERE clause is checked, but no underlying views are checked
|
| Modifier and Type | Method and Description |
|---|---|
static MysqlxCrud.ViewCheckOption |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<MysqlxCrud.ViewCheckOption> |
internalGetValueMap() |
static MysqlxCrud.ViewCheckOption |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static MysqlxCrud.ViewCheckOption |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static MysqlxCrud.ViewCheckOption |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MysqlxCrud.ViewCheckOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MysqlxCrud.ViewCheckOption LOCAL
the view WHERE clause is checked, but no underlying views are checked
LOCAL = 1;public static final MysqlxCrud.ViewCheckOption CASCADED
the view WHERE clause is checked, then checking recurses to underlying views
CASCADED = 2;public static final int LOCAL_VALUE
the view WHERE clause is checked, but no underlying views are checked
LOCAL = 1;public static final int CASCADED_VALUE
the view WHERE clause is checked, then checking recurses to underlying views
CASCADED = 2;public static MysqlxCrud.ViewCheckOption[] values()
for (MysqlxCrud.ViewCheckOption c : MysqlxCrud.ViewCheckOption.values()) System.out.println(c);
public static MysqlxCrud.ViewCheckOption 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 nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static MysqlxCrud.ViewCheckOption valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static MysqlxCrud.ViewCheckOption forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<MysqlxCrud.ViewCheckOption> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static MysqlxCrud.ViewCheckOption valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)