public class PostgreSQLDialect extends Dialect
| Constructor and Description |
|---|
PostgreSQLDialect(DataSource ds,
Connection conn) |
| Modifier and Type | Method and Description |
|---|---|
String |
escapeIdentifierAsNeeded(String canonicalName) |
Boolean |
getDefaultAutoCommit() |
protected Serializer<?> |
getDefaultSerializer(Identifier table,
String name,
String type,
boolean unsigned,
BigInteger maxLength,
Integer precision,
Integer scale) |
String |
getName() |
Table |
getTableMetaData(Identifier tn) |
List<Identifier> |
listTablesNames() |
String |
renderHeadLimit(Long limit) |
String |
renderNullsOrdering(boolean nullsFirst) |
String |
renderSQLTableIdentifier(Identifier table) |
String |
renderTailLimit(Long limit) |
getSerializerpublic PostgreSQLDialect(DataSource ds, Connection conn)
public List<Identifier> listTablesNames() throws SQLException, InvalidSchemaException
listTablesNames in class DialectSQLExceptionInvalidSchemaExceptionpublic Table getTableMetaData(Identifier tn) throws SQLException, UnsupportedDatabaseTypeException
getTableMetaData in class DialectSQLExceptionUnsupportedDatabaseTypeExceptionprotected Serializer<?> getDefaultSerializer(Identifier table, String name, String type, boolean unsigned, BigInteger maxLength, Integer precision, Integer scale) throws UnsupportedDatabaseTypeException
getDefaultSerializer in class DialectUnsupportedDatabaseTypeExceptionpublic String escapeIdentifierAsNeeded(String canonicalName)
escapeIdentifierAsNeeded in class Dialectpublic String renderSQLTableIdentifier(Identifier table)
renderSQLTableIdentifier in class Dialectpublic String renderHeadLimit(Long limit)
renderHeadLimit in class Dialectpublic String renderTailLimit(Long limit)
renderTailLimit in class Dialectpublic Boolean getDefaultAutoCommit()
getDefaultAutoCommit in class Dialectpublic String renderNullsOrdering(boolean nullsFirst)
renderNullsOrdering in class DialectCopyright © 2024. All rights reserved.