Enum JsonSchemaMysql.CollationServerEnum
java.lang.Object
java.lang.Enum<JsonSchemaMysql.CollationServerEnum>
com.exoscale.sdk.model.JsonSchemaMysql.CollationServerEnum
- All Implemented Interfaces:
Serializable, Comparable<JsonSchemaMysql.CollationServerEnum>, java.lang.constant.Constable
- Enclosing class:
JsonSchemaMysql
public static enum JsonSchemaMysql.CollationServerEnum
extends Enum<JsonSchemaMysql.CollationServerEnum>
The default collation for databases created without one, which their new tables then inherit. Only collations of the utf8mb4 character set are accepted. Databases Aiven creates, defaultdb and those added through the API or Console, keep utf8mb4_0900_ai_ci. Changing it leaves existing databases as they are. A change applies to new connections at once. After the next server restart, for example at maintenance, an upgrade, a plan change or a node replacement, sessions reset with COM_RESET_CONNECTION also compare strings with this collation, which a change without a restart does not do. Every 0900 collation except utf8mb4_0900_ai_ci has an id above 255, so after that restart MySQL announces a wrong character set to connecting clients. Clients that take their character set from the server, such as PHP mysqli and PDO without a charset option and MySQL Connector/NET (MySql.Data) without CharSet, must then set utf8mb4 themselves. Default is utf8mb4_0900_ai_ci.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptiongetValue()toString()Returns the enum constant of this type with the specified name.static JsonSchemaMysql.CollationServerEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
_0900_AI_CI
-
_0900_AS_CI
-
_0900_AS_CS
-
_0900_BIN
-
BG_0900_AI_CI
-
BG_0900_AS_CS
-
BIN
-
BS_0900_AI_CI
-
BS_0900_AS_CS
-
CROATIAN_CI
-
CS_0900_AI_CI
-
CS_0900_AS_CS
-
CZECH_CI
-
DANISH_CI
-
DA_0900_AI_CI
-
DA_0900_AS_CS
-
DE_PB_0900_AI_CI
-
DE_PB_0900_AS_CS
-
EO_0900_AI_CI
-
EO_0900_AS_CS
-
ESPERANTO_CI
-
ESTONIAN_CI
-
ES_0900_AI_CI
-
ES_0900_AS_CS
-
ES_TRAD_0900_AI_CI
-
ES_TRAD_0900_AS_CS
-
ET_0900_AI_CI
-
ET_0900_AS_CS
-
GENERAL_CI
-
GERMAN2_CI
-
GL_0900_AI_CI
-
GL_0900_AS_CS
-
HR_0900_AI_CI
-
HR_0900_AS_CS
-
HUNGARIAN_CI
-
HU_0900_AI_CI
-
HU_0900_AS_CS
-
ICELANDIC_CI
-
IS_0900_AI_CI
-
IS_0900_AS_CS
-
JA_0900_AS_CS
-
JA_0900_AS_CS_KS
-
LATVIAN_CI
-
LA_0900_AI_CI
-
LA_0900_AS_CS
-
LITHUANIAN_CI
-
LT_0900_AI_CI
-
LT_0900_AS_CS
-
LV_0900_AI_CI
-
LV_0900_AS_CS
-
MN_CYRL_0900_AI_CI
-
MN_CYRL_0900_AS_CS
-
NB_0900_AI_CI
-
NB_0900_AS_CS
-
NN_0900_AI_CI
-
NN_0900_AS_CS
-
PERSIAN_CI
-
PL_0900_AI_CI
-
PL_0900_AS_CS
-
POLISH_CI
-
ROMANIAN_CI
-
ROMAN_CI
-
RO_0900_AI_CI
-
RO_0900_AS_CS
-
RU_0900_AI_CI
-
RU_0900_AS_CS
-
SINHALA_CI
-
SK_0900_AI_CI
-
SK_0900_AS_CS
-
SLOVAK_CI
-
SLOVENIAN_CI
-
SL_0900_AI_CI
-
SL_0900_AS_CS
-
SPANISH2_CI
-
SPANISH_CI
-
SR_LATN_0900_AI_CI
-
SR_LATN_0900_AS_CS
-
SV_0900_AI_CI
-
SV_0900_AS_CS
-
SWEDISH_CI
-
TR_0900_AI_CI
-
TR_0900_AS_CS
-
TURKISH_CI
-
UNICODE_520_CI
-
UNICODE_CI
-
VIETNAMESE_CI
-
VI_0900_AI_CI
-
VI_0900_AS_CS
-
ZH_0900_AS_CS
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
getValue
-
toString
- Overrides:
toStringin classEnum<JsonSchemaMysql.CollationServerEnum>
-
fromValue
-