public class MySQLTemplates extends SQLTemplates
MySQLTemplates
is an SQL dialect for MySQL
tested with MySQL CE 5.1 and 5.5
SQLTemplates.Builder
Templates.Precedence
Modifier and Type | Field and Description |
---|---|
static MySQLTemplates |
DEFAULT |
protected static Expression<?> |
LOCK_IN_SHARE_MODE |
FOR_SHARE, FOR_UPDATE, NO_WAIT, OTHER_LIKE_CASES, RECURSIVE, TIME_WITH_TIMEZONE, TIMESTAMP_WITH_TIMEZONE
Constructor and Description |
---|
MySQLTemplates() |
MySQLTemplates(boolean quote) |
MySQLTemplates(char escape,
boolean quote) |
Modifier and Type | Method and Description |
---|---|
static SQLTemplates.Builder |
builder() |
String |
escapeLiteral(String str) |
String |
getCastTypeNameForCode(int code) |
addCustomType, addTableOverride, addTypeNameToCode, addTypeNameToCode, getAsc, getAutoIncrement, getCodeForTypeName, getColumnAlias, getCount, getCountStar, getCreateIndex, getCreateTable, getCreateUniqueIndex, getCrossJoin, getCustomTypes, getDefaultValues, getDelete, getDesc, getDistinctCountEnd, getDistinctCountStart, getDummyTable, getForShareFlag, getForUpdateFlag, getFrom, getFullJoin, getGroupBy, getHaving, getInnerJoin, getInsertInto, getJoin, getJoinSymbol, getKey, getLeftJoin, getLimitTemplate, getListMaxSize, getMergeInto, getNotNull, getNoWaitFlag, getNullsFirst, getNullsLast, getOffsetTemplate, getOn, getOrderBy, getRightJoin, getSelect, getSelectDistinct, getSet, getTableAlias, getTableOverrides, getTypeNameForCode, getUpdate, getValues, getWhere, getWith, getWithRecursive, isArraysSupported, isBatchCountViaGetUpdateCount, isBatchToBulkSupported, isCountDistinctMultipleColumns, isCountViaAnalytics, isForShareSupported, isFunctionJoinsWrapped, isLimitRequired, isNativeMerge, isParameterMetadataAvailable, isPrintSchema, isSupportsAlias, isSupportsUnquotedReservedWordsAsIdentifier, isUnionsWrapped, isUseQuotes, isWrapSelectParameters, newLineToSingleSpace, quoteIdentifier, quoteIdentifier, requiresQuotes, serialize, serialize, serializeDelete, serializeInsert, serializeInsert, serializeMerge, serializeModifiers, serializeUpdate, setArraysSupported, setAsc, setAutoIncrement, setBatchCountViaGetUpdateCount, setBatchToBulkSupported, setColumnAlias, setCount, setCountDistinctMultipleColumns, setCountStar, setCountViaAnalytics, setCreateIndex, setCreateTable, setCreateUniqueIndex, setCrossJoin, setDefaultValues, setDelete, setDesc, setDistinctCountEnd, setDistinctCountStart, setDummyTable, setForShareFlag, setForShareSupported, setForUpdateFlag, setFrom, setFullJoin, setFunctionJoinsWrapped, setGroupBy, setHaving, setInnerJoin, setInsertInto, setJoin, setKey, setLeftJoin, setLimitRequired, setListMaxSize, setMaxLimit, setMergeInto, setNativeMerge, setNotNull, setNoWaitFlag, setNullsFirst, setNullsLast, setOffsetTemplate, setOn, setOrderBy, setParameterMetadataAvailable, setPrintSchema, setRightJoin, setSelect, setSelectDistinct, setSet, setSupportsUnquotedReservedWordsAsIdentifier, setTableAlias, setUnionsWrapped, setUpdate, setValues, setWhere, setWith, setWithRecursive, setWrapSelectParameters
add, add, add, escapeForLike, getEscapeChar, getPrecedence, getTemplate, setPrecedence, setPrecedence
protected static final Expression<?> LOCK_IN_SHARE_MODE
public static final MySQLTemplates DEFAULT
public MySQLTemplates()
public MySQLTemplates(boolean quote)
public MySQLTemplates(char escape, boolean quote)
public static SQLTemplates.Builder builder()
public String escapeLiteral(String str)
escapeLiteral
in class SQLTemplates
public String getCastTypeNameForCode(int code)
getCastTypeNameForCode
in class SQLTemplates
Copyright © 2007–2016 Querydsl. All rights reserved.