public static enum MysqlxCrud.ViewAlgorithm extends java.lang.Enum<MysqlxCrud.ViewAlgorithm> implements com.google.protobuf.ProtocolMessageEnum
ViewAlgorithm defines how MySQL Server processes the viewProtobuf enum
Mysqlx.Crud.ViewAlgorithm
Enum Constant and Description |
---|
MERGE
the text of a statement that refers to the view and the view definition are merged
|
TEMPTABLE
the view are retrieved into a temporary table
|
UNDEFINED
MySQL chooses which algorithm to use
|
Modifier and Type | Field and Description |
---|---|
static int |
MERGE_VALUE
the text of a statement that refers to the view and the view definition are merged
|
static int |
TEMPTABLE_VALUE
the view are retrieved into a temporary table
|
static int |
UNDEFINED_VALUE
MySQL chooses which algorithm to use
|
Modifier and Type | Method and Description |
---|---|
static MysqlxCrud.ViewAlgorithm |
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.ViewAlgorithm> |
internalGetValueMap() |
static MysqlxCrud.ViewAlgorithm |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static MysqlxCrud.ViewAlgorithm |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static MysqlxCrud.ViewAlgorithm |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MysqlxCrud.ViewAlgorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MysqlxCrud.ViewAlgorithm UNDEFINED
MySQL chooses which algorithm to use
UNDEFINED = 1;
public static final MysqlxCrud.ViewAlgorithm MERGE
the text of a statement that refers to the view and the view definition are merged
MERGE = 2;
public static final MysqlxCrud.ViewAlgorithm TEMPTABLE
the view are retrieved into a temporary table
TEMPTABLE = 3;
public static final int UNDEFINED_VALUE
MySQL chooses which algorithm to use
UNDEFINED = 1;
public static final int MERGE_VALUE
the text of a statement that refers to the view and the view definition are merged
MERGE = 2;
public static final int TEMPTABLE_VALUE
the view are retrieved into a temporary table
TEMPTABLE = 3;
public static MysqlxCrud.ViewAlgorithm[] values()
for (MysqlxCrud.ViewAlgorithm c : MysqlxCrud.ViewAlgorithm.values()) System.out.println(c);
public static MysqlxCrud.ViewAlgorithm 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.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
@Deprecated public static MysqlxCrud.ViewAlgorithm valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static MysqlxCrud.ViewAlgorithm forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<MysqlxCrud.ViewAlgorithm> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static MysqlxCrud.ViewAlgorithm valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)