Package io.mats3.matssocket.impl
Enum Class ClusterStoreAndForward_SQL_DbMigrations.Database
java.lang.Object
java.lang.Enum<ClusterStoreAndForward_SQL_DbMigrations.Database>
io.mats3.matssocket.impl.ClusterStoreAndForward_SQL_DbMigrations.Database
- All Implemented Interfaces:
Serializable
,Comparable<ClusterStoreAndForward_SQL_DbMigrations.Database>
,Constable
- Enclosing class:
- ClusterStoreAndForward_SQL_DbMigrations
public static enum ClusterStoreAndForward_SQL_DbMigrations.Database
extends Enum<ClusterStoreAndForward_SQL_DbMigrations.Database>
Defines the String and Binary datatypes for some databases.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionH2: VARCHAR, VARBINARY (NOTE: H2 also handlesMS_SQL
andMS_SQL_2019_UTF8
).Default: MS SQL: NVARCHAR(MAX), VARBINARY(MAX) (NOTE: H2 also handles these).MS SQL 2019 and above: (assumes UTF-8 collation type) VARCHAR(MAX), VARBINARY(MAX) (NOTE: H2 also handles these).MySQL / MariaDB: LONGTEXT, LONGBLOB (both 32 bits)Oracle: NCLOB, BLOBPostgreSQL: TEXT, BYTEA -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MS_SQL
Default: MS SQL: NVARCHAR(MAX), VARBINARY(MAX) (NOTE: H2 also handles these). -
MS_SQL_2019_UTF8
MS SQL 2019 and above: (assumes UTF-8 collation type) VARCHAR(MAX), VARBINARY(MAX) (NOTE: H2 also handles these). -
H2
H2: VARCHAR, VARBINARY (NOTE: H2 also handlesMS_SQL
andMS_SQL_2019_UTF8
). -
POSTGRESQL
PostgreSQL: TEXT, BYTEA -
ORACLE
Oracle: NCLOB, BLOB -
MYSQL
MySQL / MariaDB: LONGTEXT, LONGBLOB (both 32 bits)
-
-
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
-
getTextType
-
getBinaryType
-