public class MySQL_5_x_x_SQLDialect extends AbstractSQLDialect
logger| Constructor and Description |
|---|
MySQL_5_x_x_SQLDialect() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDataQuery(String tableName,
String sortingColumn,
org.gcube.portlets.user.tdw.server.datasource.Direction sortingDirection)
Returns a query for table data selection.
|
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.
|
createDataPreparedStatementpublic String getName()
public boolean supportDataBase(String databaseProductName, int databaseMajorVersion, int databaseMinorVersion)
public String getTableSizeQuery(String tableName)
public void setDataPreparedStatementParameters(PreparedStatement preparedStatement, String tableName, String sortingColumn, org.gcube.portlets.user.tdw.server.datasource.Direction sortingDirection, int start, int limit) throws SQLException
setDataPreparedStatementParameters in interface SQLDialectsetDataPreparedStatementParameters in class AbstractSQLDialectSQLExceptionpublic String getDataQuery(String tableName, String sortingColumn, org.gcube.portlets.user.tdw.server.datasource.Direction sortingDirection)
getDataQuery in class AbstractSQLDialectsortingColumn - the sorting column, can be null.sortingDirection - the sorting direction, can be null.Copyright © 2019. All Rights Reserved.