public class PostgresTemplates extends SQLTemplates
tested with PostgreSQL 8.4 and 9.1
SQLTemplates.Builder
Modifier and Type | Field and Description |
---|---|
static PostgresTemplates |
DEFAULT |
protected static Set<String> |
POSTGRES_RESERVED_WORDS |
RECURSIVE, SQL_RESERVED_WORDS
Constructor and Description |
---|
PostgresTemplates() |
PostgresTemplates(boolean quote) |
PostgresTemplates(char escape,
boolean quote) |
Modifier and Type | Method and Description |
---|---|
static SQLTemplates.Builder |
builder() |
String |
serialize(String literal,
int jdbcType) |
addCustomType, addTableOverride, addTypeNameToCode, addTypeNameToCode, escapeLiteral, getAsc, getAutoIncrement, getCastTypeNameForCode, getCodeForTypeName, getColumnAlias, getCount, getCountStar, getCreateIndex, getCreateTable, getCreateUniqueIndex, getCustomTypes, getDefaultValues, getDelete, getDesc, getDistinctCountEnd, getDistinctCountStart, getDummyTable, getFrom, getFullJoin, getGroupBy, getHaving, getInnerJoin, getInsertInto, getJoin, getJoinSymbol, getKey, getLeftJoin, getLimitTemplate, getListMaxSize, getMergeInto, getNotNull, getNullsFirst, getNullsLast, getOffsetTemplate, getOn, getOrderBy, getRightJoin, getSelect, getSelectDistinct, getSet, getTableAlias, getTableOverrides, getTypeForCast, getTypeForClass, getTypeNameForCode, getUpdate, getValues, getWhere, getWith, getWithRecursive, isArraysSupported, isBatchCountViaGetUpdateCount, isBigDecimalSupported, isCountDistinctMultipleColumns, isCountViaAnalytics, isFunctionJoinsWrapped, isLimitRequired, isNativeMerge, isParameterMetadataAvailable, isPrintSchema, isSupportsAlias, isSupportsUnquotedReservedWordsAsIdentifier, isUnionsWrapped, isUseQuotes, isWrapSelectParameters, newLineToSingleSpace, quoteIdentifier, quoteIdentifier, requiresQuotes, serialize, serializeDelete, serializeInsert, serializeMerge, serializeModifiers, serializeUpdate, setArraysSupported, setAsc, setAutoIncrement, setBatchCountViaGetUpdateCount, setColumnAlias, setCount, setCountDistinctMultipleColumns, setCountStar, setCountViaAnalytics, setCreateIndex, setCreateTable, setCreateUniqueIndex, setDefaultValues, setDelete, setDesc, setDistinctCountEnd, setDistinctCountStart, setDummyTable, setFrom, setFullJoin, setFunctionJoinsWrapped, setGroupBy, setHaving, setInnerJoin, setInsertInto, setJoin, setKey, setLeftJoin, setLimitRequired, setListMaxSize, setMergeInto, setNativeMerge, setNotNull, 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
public static final PostgresTemplates DEFAULT
public PostgresTemplates()
public PostgresTemplates(boolean quote)
public PostgresTemplates(char escape, boolean quote)
public static SQLTemplates.Builder builder()
public String serialize(String literal, int jdbcType)
serialize
in class SQLTemplates
Copyright © 2007–2015 Mysema Ltd. All rights reserved.