@ReadingConverter public static enum MySqlDialect.ByteToBooleanConverter extends Enum<MySqlDialect.ByteToBooleanConverter> implements Converter<Byte,Boolean>
Bytes to their Boolean representation. MySQL does not have a built-in
boolean type by default, so relies on using a byte instead. Non-zero values represent true.| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
convert(Byte s) |
static MySqlDialect.ByteToBooleanConverter |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MySqlDialect.ByteToBooleanConverter[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MySqlDialect.ByteToBooleanConverter INSTANCE
public static MySqlDialect.ByteToBooleanConverter[] values()
for (MySqlDialect.ByteToBooleanConverter c : MySqlDialect.ByteToBooleanConverter.values()) System.out.println(c);
public static MySqlDialect.ByteToBooleanConverter valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2018–2022 Pivotal Software, Inc.. All rights reserved.