public class MySQLFactory extends Factory
SQLDialect.MYSQL
specific factoryConstructor and Description |
---|
MySQLFactory()
Create a connection-less factory
Without a connection, this factory cannot execute queries.
|
MySQLFactory(Connection connection)
Create a factory with connection
|
MySQLFactory(Connection connection,
SchemaMapping mapping)
Deprecated.
- 2.0.5 - Use
MySQLFactory(Connection, Settings)
instead |
MySQLFactory(Connection connection,
Settings settings)
Create a factory with connection and a settings configured
|
MySQLFactory(DataSource dataSource)
Create a factory with a data source
|
MySQLFactory(DataSource dataSource,
Settings settings)
Create a factory with a data source and a settings configured
|
MySQLFactory(Settings settings)
Create a factory with settings configured
Without a connection, this factory cannot execute queries.
|
Modifier and Type | Method and Description | |||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
static Field<String> |
aesDecrypt(Field<String> cryptString,
Field<String> keyString)
Get the MySQL-specific
AES_DECRYPT() function |
|||||||||||||||||||||||||||||||||||||||
static Field<String> |
aesDecrypt(String cryptString,
String keyString)
Get the MySQL-specific
AES_DECRYPT() function |
|||||||||||||||||||||||||||||||||||||||
static Field<String> |
aesEncrypt(Field<String> string,
Field<String> keyString)
Get the MySQL-specific
AES_ENCRYPT() function |
|||||||||||||||||||||||||||||||||||||||
static Field<String> |
aesEncrypt(String string,
String keyString)
Get the MySQL-specific
AES_ENCRYPT() function |
|||||||||||||||||||||||||||||||||||||||
static Field<String> |
compress(Field<String> string)
Get the MySQL-specific
COMPRESS() function |
|||||||||||||||||||||||||||||||||||||||
static Field<String> |
compress(String string)
Get the MySQL-specific
COMPRESS() function |
|||||||||||||||||||||||||||||||||||||||
static Field<String> |
decode(Field<String> cryptString,
Field<String> keyString)
Get the MySQL-specific
DECODE() function
Don't mix this up with the various Factory.decode() methods! |
|||||||||||||||||||||||||||||||||||||||
static Field<String> |
decode(String cryptString,
String keyString)
Get the MySQL-specific
DECODE() function
Don't mix this up with the various Factory.decode() methods! |
|||||||||||||||||||||||||||||||||||||||
static Field<String> |
desDecrypt(Field<String> cryptString)
Get the MySQL-specific
DES_DECRYPT() function |
|||||||||||||||||||||||||||||||||||||||
static Field<String> |
desDecrypt(Field<String> cryptString,
Field<String> keyString)
Get the MySQL-specific
DES_DECRYPT() function |
|||||||||||||||||||||||||||||||||||||||
static Field<String> |
desDecrypt(String cryptString)
Get the MySQL-specific
DES_DECRYPT() function |
|||||||||||||||||||||||||||||||||||||||
static Field<String> |
desDecrypt(String cryptString,
String keyString)
Get the MySQL-specific
DES_DECRYPT() function |
|||||||||||||||||||||||||||||||||||||||
static Field<String> |
desEncrypt(Field<String> string)
Get the MySQL-specific
DES_ENCRYPT() function |
|||||||||||||||||||||||||||||||||||||||
static Field<String> |
desEncrypt(Field<String> string,
Field<String> keyString)
Get the MySQL-specific
DES_ENCRYPT() function |
|||||||||||||||||||||||||||||||||||||||
static Field<String> |
desEncrypt(String string)
Get the MySQL-specific
DES_ENCRYPT() function |
|||||||||||||||||||||||||||||||||||||||
static Field<String> |
desEncrypt(String string,
String keyString)
Get the MySQL-specific
DES_ENCRYPT() function |
|||||||||||||||||||||||||||||||||||||||
static Field<String> |
encode(Field<String> string,
Field<String> keyString)
Get the MySQL-specific
ENCODE() function |
|||||||||||||||||||||||||||||||||||||||
static Field<String> |
encode(String string,
String keyString)
Get the MySQL-specific
ENCODE() function |
|||||||||||||||||||||||||||||||||||||||
static <E extends Enum<E> & EnumType> |
enumType(Class<E> type,
int index)
Get a field based
EnumType by its MySQL-specific index
If your MySQL enum type contains these three values: A, B, C
, then this will be the mapping of indexes to values:
Copyright © 2013. All Rights Reserved. |