public class SQLServer2012Templates extends SQLServerTemplates
SQLServer2012Templates
is an SQL dialect for Microsoft SQL Server 2012 and laterSQLTemplates.Builder
Templates.Precedence
Modifier and Type | Field and Description |
---|---|
static SQLServer2012Templates |
DEFAULT |
WITH_REPEATABLE_READ
FOR_SHARE, FOR_UPDATE, NO_WAIT, OTHER_LIKE_CASES, RECURSIVE, TIME_WITH_TIMEZONE, TIMESTAMP_WITH_TIMEZONE
Modifier | Constructor and Description |
---|---|
|
SQLServer2012Templates() |
|
SQLServer2012Templates(boolean quote) |
|
SQLServer2012Templates(char escape,
boolean quote) |
protected |
SQLServer2012Templates(Set<String> keywords,
char escape,
boolean quote) |
Modifier and Type | Method and Description |
---|---|
static SQLTemplates.Builder |
builder() |
void |
serialize(QueryMetadata metadata,
boolean forCountRow,
SQLSerializer context)
template method for SELECT serialization
|
void |
serializeDelete(QueryMetadata metadata,
RelationalPath<?> entity,
SQLSerializer context)
template method for DELETE serialization
|
protected void |
serializeModifiers(QueryMetadata metadata,
SQLSerializer context)
template method for LIMIT and OFFSET serialization
|
void |
serializeUpdate(QueryMetadata metadata,
RelationalPath<?> entity,
Map<Path<?>,Expression<?>> updates,
SQLSerializer context)
template method for UPDATE serialization
|
escapeForLike, serialize
addCustomType, addTableOverride, addTypeNameToCode, addTypeNameToCode, escapeLiteral, getAsc, getAutoIncrement, getCastTypeNameForCode, 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, serializeInsert, serializeInsert, serializeMerge, 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, getEscapeChar, getPrecedence, getTemplate, setPrecedence, setPrecedence
public static final SQLServer2012Templates DEFAULT
public SQLServer2012Templates()
public SQLServer2012Templates(boolean quote)
public SQLServer2012Templates(char escape, boolean quote)
public static SQLTemplates.Builder builder()
public void serialize(QueryMetadata metadata, boolean forCountRow, SQLSerializer context)
SQLTemplates
serialize
in class SQLServerTemplates
public void serializeDelete(QueryMetadata metadata, RelationalPath<?> entity, SQLSerializer context)
SQLTemplates
serializeDelete
in class SQLTemplates
public void serializeUpdate(QueryMetadata metadata, RelationalPath<?> entity, Map<Path<?>,Expression<?>> updates, SQLSerializer context)
SQLTemplates
serializeUpdate
in class SQLTemplates
protected void serializeModifiers(QueryMetadata metadata, SQLSerializer context)
SQLTemplates
serializeModifiers
in class SQLServerTemplates
Copyright © 2007–2016 Querydsl. All rights reserved.