枚举 MysqlxExpr.Expr.Type
- java.lang.Object
-
- java.lang.Enum<MysqlxExpr.Expr.Type>
-
- com.mysql.cj.x.protobuf.MysqlxExpr.Expr.Type
-
- 所有已实现的接口:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<MysqlxExpr.Expr.Type>
- 封闭类:
- MysqlxExpr.Expr
public static enum MysqlxExpr.Expr.Type extends Enum<MysqlxExpr.Expr.Type> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumMysqlx.Expr.Expr.Type
-
-
字段概要
字段 修饰符和类型 字段 说明 static intARRAY_VALUEARRAY = 8;static intFUNC_CALL_VALUEFUNC_CALL = 4;static intIDENT_VALUEIDENT = 1;static intLITERAL_VALUELITERAL = 2;static intOBJECT_VALUEOBJECT = 7;static intOPERATOR_VALUEOPERATOR = 5;static intPLACEHOLDER_VALUEPLACEHOLDER = 6;static intVARIABLE_VALUEVARIABLE = 3;
-
方法概要
所有方法 静态方法 实例方法 具体方法 已过时的方法 修饰符和类型 方法 说明 static MysqlxExpr.Expr.TypeforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<MysqlxExpr.Expr.Type>internalGetValueMap()static MysqlxExpr.Expr.TypevalueOf(int value)已过时。static MysqlxExpr.Expr.TypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)返回带有指定名称的该类型的枚举常量。static MysqlxExpr.Expr.TypevalueOf(String name)返回带有指定名称的该类型的枚举常量。static MysqlxExpr.Expr.Type[]values()按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
-
-
-
枚举常量详细资料
-
IDENT
public static final MysqlxExpr.Expr.Type IDENT
IDENT = 1;
-
LITERAL
public static final MysqlxExpr.Expr.Type LITERAL
LITERAL = 2;
-
VARIABLE
public static final MysqlxExpr.Expr.Type VARIABLE
VARIABLE = 3;
-
FUNC_CALL
public static final MysqlxExpr.Expr.Type FUNC_CALL
FUNC_CALL = 4;
-
OPERATOR
public static final MysqlxExpr.Expr.Type OPERATOR
OPERATOR = 5;
-
PLACEHOLDER
public static final MysqlxExpr.Expr.Type PLACEHOLDER
PLACEHOLDER = 6;
-
OBJECT
public static final MysqlxExpr.Expr.Type OBJECT
OBJECT = 7;
-
ARRAY
public static final MysqlxExpr.Expr.Type ARRAY
ARRAY = 8;
-
-
字段详细资料
-
IDENT_VALUE
public static final int IDENT_VALUE
IDENT = 1;- 另请参阅:
- 常量字段值
-
LITERAL_VALUE
public static final int LITERAL_VALUE
LITERAL = 2;- 另请参阅:
- 常量字段值
-
VARIABLE_VALUE
public static final int VARIABLE_VALUE
VARIABLE = 3;- 另请参阅:
- 常量字段值
-
FUNC_CALL_VALUE
public static final int FUNC_CALL_VALUE
FUNC_CALL = 4;- 另请参阅:
- 常量字段值
-
OPERATOR_VALUE
public static final int OPERATOR_VALUE
OPERATOR = 5;- 另请参阅:
- 常量字段值
-
PLACEHOLDER_VALUE
public static final int PLACEHOLDER_VALUE
PLACEHOLDER = 6;- 另请参阅:
- 常量字段值
-
OBJECT_VALUE
public static final int OBJECT_VALUE
OBJECT = 7;- 另请参阅:
- 常量字段值
-
ARRAY_VALUE
public static final int ARRAY_VALUE
ARRAY = 8;- 另请参阅:
- 常量字段值
-
-
方法详细资料
-
values
public static MysqlxExpr.Expr.Type[] values()
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。该方法可用于迭代 常量, 如下所示:for (MysqlxExpr.Expr.Type c : MysqlxExpr.Expr.Type.values()) System.out.println(c);
- 返回:
- 按照声明该枚举类型的常量的顺序返回的包含这些常量的数组
-
valueOf
public static MysqlxExpr.Expr.Type valueOf(String name)
返回带有指定名称的该类型的枚举常量。 字符串必须与用于声明该类型的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)- 参数:
name- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
IllegalArgumentException- 如果该枚举类型没有带有指定名称的常量NullPointerException- 如果参数为空值
-
getNumber
public final int getNumber()
- 指定者:
getNumber在接口中com.google.protobuf.Internal.EnumLite- 指定者:
getNumber在接口中com.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static MysqlxExpr.Expr.Type valueOf(int value)
已过时。返回带有指定名称的该类型的枚举常量。 字符串必须与用于声明该类型的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)- 参数:
value- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
IllegalArgumentException- 如果该枚举类型没有带有指定名称的常量NullPointerException- 如果参数为空值
-
forNumber
public static MysqlxExpr.Expr.Type forNumber(int value)
- 参数:
value- The numeric wire value of the corresponding enum entry.- 返回:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<MysqlxExpr.Expr.Type> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- 指定者:
getValueDescriptor在接口中com.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- 指定者:
getDescriptorForType在接口中com.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static MysqlxExpr.Expr.Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
返回带有指定名称的该类型的枚举常量。 字符串必须与用于声明该类型的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)- 参数:
desc- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
IllegalArgumentException- 如果该枚举类型没有带有指定名称的常量NullPointerException- 如果参数为空值
-
-