Enum Database.Engine
- java.lang.Object
-
- java.lang.Enum<Database.Engine>
-
- com.aoindustries.aoserv.client.mysql.Database.Engine
-
- All Implemented Interfaces:
Serializable,Comparable<Database.Engine>
- Enclosing class:
- Database
public static enum Database.Engine extends Enum<Database.Engine>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Database.EnginevalueOf(String name)Returns the enum constant of this type with the specified name.static Database.Engine[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CSV
public static final Database.Engine CSV
-
MyISAM
public static final Database.Engine MyISAM
-
InnoDB
public static final Database.Engine InnoDB
-
HEAP
public static final Database.Engine HEAP
-
MEMORY
public static final Database.Engine MEMORY
-
PERFORMANCE_SCHEMA
public static final Database.Engine PERFORMANCE_SCHEMA
-
-
Method Detail
-
values
public static Database.Engine[] 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 (Database.Engine c : Database.Engine.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Database.Engine valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-