public interface SQLDialect
| Modifier and Type | Method and Description |
|---|---|
PreparedStatement |
createDataPreparedStatement(Connection connection,
String tableName,
String sortingColumn,
org.gcube.portlets.user.tdw.server.datasource.Direction sortingDirection,
int start,
int limit) |
String |
getName() |
String |
getTableSizeQuery(String tableName)
Returns a query for table size retrieving.
|
void |
setDataPreparedStatementParameters(PreparedStatement preparedStatement,
String tableName,
String sortingColumn,
org.gcube.portlets.user.tdw.server.datasource.Direction sortingDirection,
int start,
int limit) |
boolean |
supportDataBase(String databaseProductName,
int databaseMajorVersion,
int databaseMinorVersion)
Checks if the specified database system is compatible with this dialect.
|
String getName()
boolean supportDataBase(String databaseProductName, int databaseMajorVersion, int databaseMinorVersion)
databaseProductName - databaseMajorVersion - databaseMinorVersion - String getTableSizeQuery(String tableName)
tableName - PreparedStatement createDataPreparedStatement(Connection connection, String tableName, String sortingColumn, org.gcube.portlets.user.tdw.server.datasource.Direction sortingDirection, int start, int limit) throws SQLException
SQLExceptionvoid setDataPreparedStatementParameters(PreparedStatement preparedStatement, String tableName, String sortingColumn, org.gcube.portlets.user.tdw.server.datasource.Direction sortingDirection, int start, int limit) throws SQLException
SQLExceptionCopyright © 2019. All Rights Reserved.