public class MariaDBDSL extends DSL
SQLDialect.MARIADB
specific DSL.Modifier | Constructor and Description |
---|---|
protected |
MariaDBDSL()
No instances
|
Modifier and Type | Method and Description |
---|---|
static Field<java.lang.String> |
aesDecrypt(Field<java.lang.String> cryptString,
Field<java.lang.String> keyString)
Get the MariaDB-specific
AES_DECRYPT() function |
static Field<java.lang.String> |
aesDecrypt(java.lang.String cryptString,
java.lang.String keyString)
Get the MariaDB-specific
AES_DECRYPT() function |
static Field<java.lang.String> |
aesEncrypt(Field<java.lang.String> string,
Field<java.lang.String> keyString)
Get the MariaDB-specific
AES_ENCRYPT() function |
static Field<java.lang.String> |
aesEncrypt(java.lang.String string,
java.lang.String keyString)
Get the MariaDB-specific
AES_ENCRYPT() function |
static Field<java.lang.String> |
compress(Field<java.lang.String> string)
Get the MariaDB-specific
COMPRESS() function |
static Field<java.lang.String> |
compress(java.lang.String string)
Get the MariaDB-specific
COMPRESS() function |
static Field<java.lang.String> |
decode(Field<java.lang.String> cryptString,
Field<java.lang.String> keyString)
Get the MariaDB-specific
DECODE() function
Don't mix this up with the various DSL.decode() methods! |
static Field<java.lang.String> |
decode(java.lang.String cryptString,
java.lang.String keyString)
Get the MariaDB-specific
DECODE() function
Don't mix this up with the various DSL.decode() methods! |
static Field<java.lang.String> |
desDecrypt(Field<java.lang.String> cryptString)
Get the MariaDB-specific
DES_DECRYPT() function |
static Field<java.lang.String> |
desDecrypt(Field<java.lang.String> cryptString,
Field<java.lang.String> keyString)
Get the MariaDB-specific
DES_DECRYPT() function |
static Field<java.lang.String> |
desDecrypt(java.lang.String cryptString)
Get the MariaDB-specific
DES_DECRYPT() function |
static Field<java.lang.String> |
desDecrypt(java.lang.String cryptString,
java.lang.String keyString)
Get the MariaDB-specific
DES_DECRYPT() function |
static Field<java.lang.String> |
desEncrypt(Field<java.lang.String> string)
Get the MariaDB-specific
DES_ENCRYPT() function |
static Field<java.lang.String> |
desEncrypt(Field<java.lang.String> string,
Field<java.lang.String> keyString)
Get the MariaDB-specific
DES_ENCRYPT() function |
static Field<java.lang.String> |
desEncrypt(java.lang.String string)
Get the MariaDB-specific
DES_ENCRYPT() function |
static Field<java.lang.String> |
desEncrypt(java.lang.String string,
java.lang.String keyString)
Get the MariaDB-specific
DES_ENCRYPT() function |
static Field<java.lang.String> |
encode(Field<java.lang.String> string,
Field<java.lang.String> keyString)
Get the MariaDB-specific
ENCODE() function |
static Field<java.lang.String> |
encode(java.lang.String string,
java.lang.String keyString)
Get the MariaDB-specific
ENCODE() function |
static <E extends java.lang.Enum<E> & EnumType> |
enumType(java.lang.Class<E> type,
int index)
Get a field based
EnumType by its MariaDB-specific index. |
static Field<java.lang.String> |
password(Field<java.lang.String> string)
Get the MariaDB-specific
PASSWORD() function |
static Field<java.lang.String> |
password(java.lang.String string)
Get the MariaDB-specific
PASSWORD() function |
static Field<java.lang.String> |
sha1(Field<java.lang.String> string)
Get the MariaDB-specific
SHA1() function |
static Field<java.lang.String> |
sha1(java.lang.String string)
Get the MariaDB-specific
SHA1() function |
static Field<java.lang.String> |
uncompress(Field<java.lang.String> string)
Get the MariaDB-specific
UNCOMPRESS() function |
static Field<java.lang.String> |
uncompress(java.lang.String string)
Get the MariaDB-specific
UNCOMPRESS() function |
static Field<java.lang.Integer> |
uncompressedLength(Field<java.lang.String> string)
Get the MariaDB-specific
UNCOMPRESSED_LENGTH() function |
static Field<java.lang.Integer> |
uncompressedLength(java.lang.String string)
Get the MariaDB-specific
UNCOMPRESSED_LENGTH() function |
abs, abs, acos, acos, all, all, all, alterIndex, alterIndex, alterIndex, alterIndexIfExists, alterIndexIfExists, alterIndexIfExists, alterSchema, alterSchema, alterSchema, alterSchemaIfExists, alterSchemaIfExists, alterSchemaIfExists, alterSequence, alterSequence, alterSequence, alterSequenceIfExists, alterSequenceIfExists, alterSequenceIfExists, alterTable, alterTable, alterTable, alterTableIfExists, alterTableIfExists, alterTableIfExists, alterView, alterView, alterView, alterViewIfExists, alterViewIfExists, alterViewIfExists, and, and, and, any, any, any, array, array, array, arrayAgg, arrayAggDistinct, ascii, ascii, asin, asin, atan, atan, atan2, atan2, atan2, atan2, avg, avgDistinct, bitAnd, bitAnd, bitAnd, bitAnd, bitCount, bitCount, bitLength, bitLength, bitNand, bitNand, bitNand, bitNand, bitNor, bitNor, bitNor, bitNor, bitNot, bitNot, bitOr, bitOr, bitOr, bitOr, bitXNor, bitXNor, bitXNor, bitXNor, bitXor, bitXor, bitXor, bitXor, boolAnd, boolAnd, boolOr, boolOr, cast, cast, cast, cast, cast, cast, castNull, castNull, castNull, catalog, ceil, ceil, charLength, charLength, check, choose, choose, choose, coalesce, coalesce, coalesce, coerce, coerce, coerce, coerce, coerce, coerce, collect, collect, collectDistinct, collectDistinct, concat, concat, concat, concat, condition, condition, condition, condition, condition, condition, condition, condition, condition, condition, condition, connectByIsCycle, connectByIsLeaf, connectByRoot, constraint, constraint, constraint, cos, cos, cosh, cosh, cot, cot, coth, coth, count, count, count, countDistinct, countDistinct, countDistinct, createGlobalTemporaryTable, createGlobalTemporaryTable, createGlobalTemporaryTable, createIndex, createIndex, createIndex, createIndexIfNotExists, createIndexIfNotExists, createIndexIfNotExists, createSchema, createSchema, createSchema, createSchemaIfNotExists, createSchemaIfNotExists, createSchemaIfNotExists, createSequence, createSequence, createSequence, createSequenceIfNotExists, createSequenceIfNotExists, createSequenceIfNotExists, createTable, createTable, createTable, createTableIfNotExists, createTableIfNotExists, createTableIfNotExists, createTemporaryTable, createTemporaryTable, createTemporaryTable, createUniqueIndex, createUniqueIndex, createUniqueIndex, createUniqueIndexIfNotExists, createUniqueIndexIfNotExists, createUniqueIndexIfNotExists, createView, createView, createView, createView, createView, createView, createViewIfNotExists, createViewIfNotExists, createViewIfNotExists, createViewIfNotExists, createViewIfNotExists, createViewIfNotExists, cube, cube, cumeDist, cumeDist, cumeDist, currentDate, currentLocalDate, currentLocalDateTime, currentLocalTime, currentOffsetDateTime, currentOffsetTime, currentSchema, currentTime, currentTimestamp, currentUser, date, date, date, dateAdd, dateAdd, dateAdd, dateAdd, dateAdd, dateAdd, dateDiff, dateDiff, dateDiff, dateDiff, dateSub, dateSub, dateSub, dateSub, dateSub, dateSub, day, day, day, decode, decode, decode, decode, decode, defaultValue, defaultValue, defaultValue, defaultValue, deg, deg, delete, deleteFrom, denseRank, denseRank, denseRank, dropIndex, dropIndex, dropIndex, dropIndexIfExists, dropIndexIfExists, dropIndexIfExists, dropSchema, dropSchema, dropSchema, dropSchemaIfExists, dropSchemaIfExists, dropSchemaIfExists, dropSequence, dropSequence, dropSequence, dropSequenceIfExists, dropSequenceIfExists, dropSequenceIfExists, dropTable, dropTable, dropTable, dropTableIfExists, dropTableIfExists, dropTableIfExists, dropView, dropView, dropView, dropViewIfExists, dropViewIfExists, dropViewIfExists, dual, e, escape, escape, every, every, exists, exp, exp, extract, extract, extract, falseCondition, field, field, field, field, field, field, field, field, field, field, field, field, field, field, field, field, field, field, fieldByName, fieldByName, fieldByName, firstValue, floor, floor, foreignKey, foreignKey, foreignKey, foreignKey, foreignKey, foreignKey, foreignKey, foreignKey, foreignKey, foreignKey, foreignKey, foreignKey, foreignKey, foreignKey, foreignKey, foreignKey, foreignKey, foreignKey, foreignKey, foreignKey, foreignKey, foreignKey, foreignKey, foreignKey, foreignKey, foreignKey, foreignKey, foreignKey, foreignKey, foreignKey, foreignKey, foreignKey, foreignKey, foreignKey, foreignKey, foreignKey, foreignKey, foreignKey, foreignKey, foreignKey, foreignKey, foreignKey, foreignKey, foreignKey, foreignKey, foreignKey, foreignKey, foreignKey, foreignKey, foreignKey, foreignKey, foreignKey, foreignKey, foreignKey, foreignKey, foreignKey, foreignKey, foreignKey, foreignKey, foreignKey, foreignKey, foreignKey, foreignKey, foreignKey, foreignKey, foreignKey, foreignKey, foreignKey, foreignKey, function, function, function, function, generateSeries, generateSeries, generateSeries, generateSeries, getDataType, greatest, greatest, groupConcat, groupConcat, groupConcatDistinct, groupId, grouping, groupingId, groupingSets, groupingSets, groupingSets, hour, hour, hour, ifnull, ifnull, ifnull, ifnull, index, inline, inline, inline, inline, inline, inline, inline, inline, inline, inline, inline, inline, inline, inline, inline, inline, inline, inline, inline, inline, inline, inline, inline, inline, inline, inline, inline, inline, inline, inline, inline, inline, inline, inline, inline, inline, inline, inline, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, isnull, isnull, isnull, isnull, keyword, lag, lag, lag, lag, lastValue, lateral, lead, lead, lead, lead, least, least, left, left, left, left, length, length, level, link, link, link, list, list, listAgg, listAgg, ln, ln, localDate, localDate, localDate, localDateAdd, localDateAdd, localDateAdd, localDateAdd, localDateAdd, localDateAdd, localDateDiff, localDateDiff, localDateDiff, localDateDiff, localDateSub, localDateSub, localDateSub, localDateSub, localDateSub, localDateSub, localDateTime, localDateTime, localDateTime, localTime, localTime, localTime, log, log, lower, lower, lpad, lpad, lpad, lpad, lpad, ltrim, ltrim, max, maxDistinct, md5, md5, median, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mid, mid, min, minDistinct, minute, minute, minute, mode, month, month, month, name, name, name, name, not, not, not, notExists, now, nthValue, nthValue, ntile, nullif, nullif, nullif, nullif, nullSafe, nullSafe, nullSafe, nullSafeDataType, nvl, nvl, nvl, nvl, nvl2, nvl2, nvl2, nvl2, octetLength, octetLength, offsetDateTime, offsetDateTime, offsetDateTime, offsetTime, offsetTime, offsetTime, one, or, or, or, orderBy, orderBy, orderBy, param, param, param, param, param, param, param, param, param, partitionBy, partitionBy, percentileCont, percentileCont, percentileDisc, percentileDisc, percentRank, percentRank, percentRank, pi, position, position, position, position, position, position, position, position, position, position, position, position, power, power, power, power, primaryKey, primaryKey, primaryKey, prior, queries, queries, query, query, query, query, queryPart, queryPart, queryPart, quotedName, quotedName, quotedName, rad, rad, rand, rangeBetweenCurrentRow, rangeBetweenFollowing, rangeBetweenPreceding, rangeBetweenUnboundedFollowing, rangeBetweenUnboundedPreceding, rangeCurrentRow, rangeFollowing, rangePreceding, rangeUnboundedFollowing, rangeUnboundedPreceding, rank, rank, rank, ratioToReport, ratioToReport, recordType, recordType, recordType, recordType, recordType, recordType, recordType, recordType, recordType, recordType, recordType, recordType, recordType, recordType, recordType, recordType, recordType, recordType, recordType, recordType, recordType, recordType, recordType, recordType, regrAvgX, regrAvgY, regrCount, regrIntercept, regrR2, regrSlope, regrSXX, regrSXY, regrSYY, repeat, repeat, repeat, repeat, replace, replace, replace, replace, resultQuery, resultQuery, resultQuery, resultQuery, reverse, reverse, right, right, right, right, rollup, rollup, round, round, round, round, row, row, row, row, row, row, row, row, row, row, row, row, row, row, row, row, row, row, row, row, row, row, row, row, row, row, row, row, row, row, row, row, row, row, row, row, row, row, row, row, row, row, row, row, row, row, row, rowField, rowField, rowField, rowField, rowField, rowField, rowField, rowField, rowField, rowField, rowField, rowField, rowField, rowField, rowField, rowField, rowField, rowField, rowField, rowField, rowField, rowField, rownum, rowNumber, rowsBetweenCurrentRow, rowsBetweenFollowing, rowsBetweenPreceding, rowsBetweenUnboundedFollowing, rowsBetweenUnboundedPreceding, rowsCurrentRow, rowsFollowing, rowsFrom, rowsPreceding, rowsUnboundedFollowing, rowsUnboundedPreceding, rpad, rpad, rpad, rpad, rpad, rtrim, rtrim, schema, schemaByName, second, second, second, select, select, select, select, select, select, select, select, select, select, select, select, select, select, select, select, select, select, select, select, select, select, select, select, selectCount, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectFrom, selectOne, selectZero, sequence, sequence, sequence, sequence, sequence, sequence, sequenceByName, sequenceByName, sequenceByName, setCatalog, setCatalog, setCatalog, setSchema, setSchema, setSchema, shl, shl, shl, shl, shr, shr, shr, shr, sign, sign, sin, sin, sinh, sinh, space, space, sql, sql, sql, sqrt, sqrt, stddevPop, stddevSamp, substring, substring, substring, substring, sum, sumDistinct, sysConnectByPath, table, table, table, table, table, table, table, table, table, table, table, table, table, tableByName, tan, tan, tanh, tanh, time, time, time, timestamp, timestamp, timestamp, timestampAdd, timestampAdd, timestampAdd, timestampAdd, timestampAdd, timestampAdd, timestampDiff, timestampDiff, timestampDiff, timestampDiff, toDate, toDate, toDate, toDate, toLocalDate, toLocalDate, toLocalDate, toLocalDate, toLocalDateTime, toLocalDateTime, toLocalDateTime, toLocalDateTime, toTimestamp, toTimestamp, toTimestamp, toTimestamp, trim, trim, trueCondition, trunc, trunc, trunc, trunc, trunc, trunc, trunc, trunc, trunc, trunc, trunc, trunc, trunc, trunc, trunc, truncate, truncate, two, unique, unique, unique, unnest, unnest, unnest, unnest, unquotedName, unquotedName, unquotedName, update, upper, upper, using, using, using, using, using, using, using, using, using, using, using, using, using, using, val, val, val, val, val, val, val, val, val, val, val, val, val, val, val, val, val, val, val, val, val, val, val, val, val, val, val, val, val, val, val, val, val, val, val, value, value, value, value, value, value, value, value, value, value, value, value, value, value, value, value, value, value, value, value, value, value, value, value, value, value, value, value, value, value, value, value, value, value, value, values, values, values, values, values, values, values, values, values, values, values, values, values, values, values, values, values, values, values, values, values, values, values, varPop, varSamp, when, when, when, widthBucket, widthBucket, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, year, year, year, zero
public static Field<java.lang.String> decode(java.lang.String cryptString, java.lang.String keyString)
DECODE()
function
Don't mix this up with the various DSL.decode()
methods!
public static Field<java.lang.String> decode(Field<java.lang.String> cryptString, Field<java.lang.String> keyString)
DECODE()
function
Don't mix this up with the various DSL.decode()
methods!
public static Field<java.lang.String> encode(java.lang.String string, java.lang.String keyString)
ENCODE()
functionpublic static Field<java.lang.String> encode(Field<java.lang.String> string, Field<java.lang.String> keyString)
ENCODE()
functionpublic static Field<java.lang.String> aesDecrypt(java.lang.String cryptString, java.lang.String keyString)
AES_DECRYPT()
functionpublic static Field<java.lang.String> aesDecrypt(Field<java.lang.String> cryptString, Field<java.lang.String> keyString)
AES_DECRYPT()
functionpublic static Field<java.lang.String> aesEncrypt(java.lang.String string, java.lang.String keyString)
AES_ENCRYPT()
functionpublic static Field<java.lang.String> aesEncrypt(Field<java.lang.String> string, Field<java.lang.String> keyString)
AES_ENCRYPT()
functionpublic static Field<java.lang.String> desDecrypt(java.lang.String cryptString)
DES_DECRYPT()
functionpublic static Field<java.lang.String> desDecrypt(Field<java.lang.String> cryptString)
DES_DECRYPT()
functionpublic static Field<java.lang.String> desDecrypt(java.lang.String cryptString, java.lang.String keyString)
DES_DECRYPT()
functionpublic static Field<java.lang.String> desDecrypt(Field<java.lang.String> cryptString, Field<java.lang.String> keyString)
DES_DECRYPT()
functionpublic static Field<java.lang.String> desEncrypt(java.lang.String string)
DES_ENCRYPT()
functionpublic static Field<java.lang.String> desEncrypt(Field<java.lang.String> string)
DES_ENCRYPT()
functionpublic static Field<java.lang.String> desEncrypt(java.lang.String string, java.lang.String keyString)
DES_ENCRYPT()
functionpublic static Field<java.lang.String> desEncrypt(Field<java.lang.String> string, Field<java.lang.String> keyString)
DES_ENCRYPT()
functionpublic static Field<java.lang.String> compress(java.lang.String string)
COMPRESS()
functionpublic static Field<java.lang.String> compress(Field<java.lang.String> string)
COMPRESS()
functionpublic static Field<java.lang.String> uncompress(java.lang.String string)
UNCOMPRESS()
functionpublic static Field<java.lang.String> uncompress(Field<java.lang.String> string)
UNCOMPRESS()
functionpublic static Field<java.lang.Integer> uncompressedLength(java.lang.String string)
UNCOMPRESSED_LENGTH()
functionpublic static Field<java.lang.Integer> uncompressedLength(Field<java.lang.String> string)
UNCOMPRESSED_LENGTH()
functionpublic static Field<java.lang.String> sha1(java.lang.String string)
SHA1()
functionpublic static Field<java.lang.String> sha1(Field<java.lang.String> string)
SHA1()
functionpublic static Field<java.lang.String> password(java.lang.String string)
PASSWORD()
functionpublic static Field<java.lang.String> password(Field<java.lang.String> string)
PASSWORD()
functionpublic static <E extends java.lang.Enum<E> & EnumType> E enumType(java.lang.Class<E> type, int index)
EnumType
by its MariaDB-specific index.
If your MariaDB enum type contains these three values:
A, B, C
, then this will be the mapping of indexes to
values:
Enum literal as in Enum.name() |
Enum ordinal as in Enum.ordinal() |
MariaDB index |
---|---|---|
null |
- |
0 |
A |
0 |
1 |
B |
1 |
2 |
C |
2 |
3 |
See dev.mysql.com/doc/ refman/5.5/en/enum.html for more details about MySQL enum types
Copyright © 2018. All Rights Reserved.