Enum ClientPrepareResult.LexState
- java.lang.Object
-
- java.lang.Enum<ClientPrepareResult.LexState>
-
- org.mariadb.jdbc.internal.util.dao.ClientPrepareResult.LexState
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ClientPrepareResult.LexState>
- Enclosing class:
- ClientPrepareResult
static enum ClientPrepareResult.LexState extends java.lang.Enum<ClientPrepareResult.LexState>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Backtick
EOLComment
Escape
Normal
SlashStarComment
String
-
Constructor Summary
Constructors Modifier Constructor Description private
LexState()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ClientPrepareResult.LexState
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ClientPrepareResult.LexState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Normal
public static final ClientPrepareResult.LexState Normal
-
String
public static final ClientPrepareResult.LexState String
-
SlashStarComment
public static final ClientPrepareResult.LexState SlashStarComment
-
Escape
public static final ClientPrepareResult.LexState Escape
-
EOLComment
public static final ClientPrepareResult.LexState EOLComment
-
Backtick
public static final ClientPrepareResult.LexState Backtick
-
-
Method Detail
-
values
public static ClientPrepareResult.LexState[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ClientPrepareResult.LexState c : ClientPrepareResult.LexState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ClientPrepareResult.LexState valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-