|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jooq.impl.Factory
org.jooq.util.mysql.MySQLFactory
public class MySQLFactory
A SQLDialect.MYSQL
specific factory
Constructor Summary | |
---|---|
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 |
Method Summary | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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
|
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:
MySQLFactory@Deprecated public MySQLFactory(Connection connection, SchemaMapping mapping)
MySQLFactorypublic MySQLFactory(Connection connection, Settings settings)
MySQLFactorypublic MySQLFactory(Connection connection)
decodepublic static Field<String> decode(String cryptString, String keyString)
decodepublic static Field<String> decode(Field<String> cryptString, Field<String> keyString)
encodepublic static Field<String> encode(String string, String keyString)
encodepublic static Field<String> encode(Field<String> string, Field<String> keyString)
aesDecryptpublic static Field<String> aesDecrypt(String cryptString, String keyString)
aesDecryptpublic static Field<String> aesDecrypt(Field<String> cryptString, Field<String> keyString)
aesEncryptpublic static Field<String> aesEncrypt(String string, String keyString)
aesEncryptpublic static Field<String> aesEncrypt(Field<String> string, Field<String> keyString)
desDecryptpublic static Field<String> desDecrypt(String cryptString)
desDecryptpublic static Field<String> desDecrypt(Field<String> cryptString)
desDecryptpublic static Field<String> desDecrypt(String cryptString, String keyString)
desDecryptpublic static Field<String> desDecrypt(Field<String> cryptString, Field<String> keyString)
desEncryptpublic static Field<String> desEncrypt(String string)
desEncryptpublic static Field<String> desEncrypt(Field<String> string)
desEncryptpublic static Field<String> desEncrypt(String string, String keyString)
desEncryptpublic static Field<String> desEncrypt(Field<String> string, Field<String> keyString)
compresspublic static Field<String> compress(String string)
compresspublic static Field<String> compress(Field<String> string)
uncompresspublic static Field<String> uncompress(String string)
uncompresspublic static Field<String> uncompress(Field<String> string)
uncompressedLengthpublic static Field<Integer> uncompressedLength(String string)
uncompressedLengthpublic static Field<Integer> uncompressedLength(Field<String> string)
md5public static Field<String> md5(String string)
md5public static Field<String> md5(Field<String> string)
sha1public static Field<String> sha1(String string)
sha1public static Field<String> sha1(Field<String> string)
sha2public static Field<String> sha2(String string, int hashLength)
sha2public static Field<String> sha2(Field<String> string, Field<Integer> hashLength)
passwordpublic static Field<String> password(String string)
passwordpublic static Field<String> password(Field<String> string)
enumTypepublic static <E extends Enum<E> & EnumType> E enumType(Class<E> type, int index)
Copyright © 2012. All Rights Reserved. |