public class PostgreSQLDialect extends Object implements JdbcDialect
JdbcDialect.JdbcDialect.DialectResolutionContext, JdbcDialect.LimitHandler, JdbcDialect.SQLFunction, JdbcDialect.SQLParameterProcessor, JdbcDialect.SQLPathProcessor, JdbcDialect.SQLValueDeserializer, JdbcDialect.StatementConfigurationException, JdbcDialect.StatementConfigurator, JdbcDialect.StatementParameterHandler| Constructor and Description |
|---|
PostgreSQLDialect() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
generatedKeyAlwaysReturned()
Retrieves whether a generated key will always be returned if the column name(s) or index(es) specified for the
auto generated key column(s) are valid and the statement succeeds.
|
String |
getColumnName(String columnName)
Get the actual column name for given column name (for example, applying case transformations)
|
Optional<JdbcDialect.LimitHandler> |
getLimitHandler()
Get the
JdbcDialect.LimitHandler |
JdbcDialect.StatementConfigurator |
getStatementConfigurator()
Get the
JdbcDialect.StatementConfigurator to use to configure JDBC statements. |
Optional<JdbcDialect.StatementParameterHandler> |
getStatementParameterHandler()
Get the dialect
JdbcDialect.StatementParameterHandler. |
String |
getTableName(String tableName)
Get the actual table name for given table name (for example, applying case transformations)
|
void |
init(JdbcDatastore datastore)
Dialect initialization hook at parent datastore initialization.
|
boolean |
supportsGetGeneratedKeys()
Retrieves whether auto-generated keys can be retrieved after a statement has been executed.
|
boolean |
supportsLikeEscapeClause()
Retrieves whether this database supports specifying a
LIKE escape clause. |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdeleteStatementAliasSupported, deleteStatementTargetRequired, getFunction, getParameterProcessor, getPathProcessor, getPrimaryKey, getValueDeserializer, supportGetGeneratedKeyByName, useOuterInJoinspublic void init(JdbcDatastore datastore) throws SQLException
JdbcDialectinit in interface JdbcDialectdatastore - Parent datastoreSQLException - An error occurred during dialect initializationpublic JdbcDialect.StatementConfigurator getStatementConfigurator()
JdbcDialectJdbcDialect.StatementConfigurator to use to configure JDBC statements.getStatementConfigurator in interface JdbcDialectpublic Optional<JdbcDialect.StatementParameterHandler> getStatementParameterHandler()
JdbcDialectJdbcDialect.StatementParameterHandler.getStatementParameterHandler in interface JdbcDialectpublic boolean supportsLikeEscapeClause()
JdbcDialectLIKE escape clause.supportsLikeEscapeClause in interface JdbcDialecttrue if so; false otherwisepublic boolean supportsGetGeneratedKeys()
JdbcDialectsupportsGetGeneratedKeys in interface JdbcDialecttrue if auto-generated keys can be retrieved after a statement has executed;
false otherwisepublic boolean generatedKeyAlwaysReturned()
JdbcDialectgeneratedKeyAlwaysReturned in interface JdbcDialecttrue if so; false otherwisepublic Optional<JdbcDialect.LimitHandler> getLimitHandler()
JdbcDialectJdbcDialect.LimitHandlergetLimitHandler in interface JdbcDialectpublic String getTableName(String tableName)
JdbcDialectgetTableName in interface JdbcDialecttableName - Table namepublic String getColumnName(String columnName)
JdbcDialectgetColumnName in interface JdbcDialectcolumnName - Column nameCopyright © 2017 The Holon Platform. All rights reserved.