public static enum MysqlxCrud.ViewSqlSecurity extends java.lang.Enum<MysqlxCrud.ViewSqlSecurity> implements com.google.protobuf.ProtocolMessageEnum
ViewSqlSecurity defines the security context in which the view is going to be executed; this means that VIEW can be executed with current user permissions or with permissions of the user who defined the VIEWProtobuf enum
Mysqlx.Crud.ViewSqlSecurity| Enum Constant and Description |
|---|
DEFINER
use permissions of the user who defined the VIEW
|
INVOKER
use current user permissions
|
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFINER_VALUE
use permissions of the user who defined the VIEW
|
static int |
INVOKER_VALUE
use current user permissions
|
| Modifier and Type | Method and Description |
|---|---|
static MysqlxCrud.ViewSqlSecurity |
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.ViewSqlSecurity> |
internalGetValueMap() |
static MysqlxCrud.ViewSqlSecurity |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static MysqlxCrud.ViewSqlSecurity |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static MysqlxCrud.ViewSqlSecurity |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MysqlxCrud.ViewSqlSecurity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MysqlxCrud.ViewSqlSecurity INVOKER
use current user permissions
INVOKER = 1;public static final MysqlxCrud.ViewSqlSecurity DEFINER
use permissions of the user who defined the VIEW
DEFINER = 2;public static final int INVOKER_VALUE
use current user permissions
INVOKER = 1;public static final int DEFINER_VALUE
use permissions of the user who defined the VIEW
DEFINER = 2;public static MysqlxCrud.ViewSqlSecurity[] values()
for (MysqlxCrud.ViewSqlSecurity c : MysqlxCrud.ViewSqlSecurity.values()) System.out.println(c);
public static MysqlxCrud.ViewSqlSecurity 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.ViewSqlSecurity valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static MysqlxCrud.ViewSqlSecurity forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<MysqlxCrud.ViewSqlSecurity> 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.ViewSqlSecurity valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)