Enum Class H2ConnectionOption
- All Implemented Interfaces:
Serializable,Comparable<H2ConnectionOption>,java.lang.constant.Constable
Collection of H2 configuration options.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionr|rw|rws|rwd (r=read, rw=read/write)TRUE|FALSEA port numberTQ|SOFT_LRUSeconds to stay open or -1 to to keep in-memory DB open as long as the virtual machine is alive.TRUE|FALSEFILE|SOCKET|NOTRUE|FALSETRUE|FALSEDML or DDL commands on startup, use "\\;" to chain multiple commandsDB2|Derby|HSQLDB|MSSQLServer|MySQL|Oracle|PostgreSQL|IgniteNumber of threads (e.g. 4)Bytes (e.g. 512)TRUE|FALSE0..3 (0=OFF, 1=ERROR, 2=INFO, 3=DEBUG)0..3 (0=OFF, 1=ERROR, 2=INFO, 3=DEBUG)Megabytes (to override the 16mb default, e.g. 64) -
Method Summary
Modifier and TypeMethodDescriptiongetKey()static H2ConnectionOptionReturns the enum constant of this class with the specified name.static H2ConnectionOption[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FILE_LOCK
-
IFEXISTS
-
DB_CLOSE_DELAY
Seconds to stay open or -1 to to keep in-memory DB open as long as the virtual machine is alive.- See Also:
-
DB_CLOSE_ON_EXIT
-
INIT
DML or DDL commands on startup, use "\\;" to chain multiple commands- See Also:
-
TRACE_LEVEL_FILE
0..3 (0=OFF, 1=ERROR, 2=INFO, 3=DEBUG)- See Also:
-
TRACE_MAX_FILE_SIZE
Megabytes (to override the 16mb default, e.g. 64)- See Also:
-
TRACE_LEVEL_SYSTEM_OUT
0..3 (0=OFF, 1=ERROR, 2=INFO, 3=DEBUG)- See Also:
-
LOG
-
IGNORE_UNKNOWN_SETTINGS
-
ACCESS_MODE_DATA
r|rw|rws|rwd (r=read, rw=read/write)- See Also:
-
MODE
DB2|Derby|HSQLDB|MSSQLServer|MySQL|Oracle|PostgreSQL|Ignite- See Also:
-
AUTO_SERVER
-
AUTO_SERVER_PORT
-
PAGE_SIZE
-
MULTI_THREADED
-
CACHE_TYPE
-
PASSWORD_HASH
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getKey
-