public abstract class AbstractSQLDialect extends Object implements SQLDialect
| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
AbstractSQLDialect() |
| 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) |
abstract String |
getDataQuery(String tableName,
String sortingColumn,
org.gcube.portlets.user.tdw.server.datasource.Direction sortingDirection)
Returns a query for table data selection.
|
void |
setDataPreparedStatementParameters(PreparedStatement preparedStatement,
String tableName,
String sortingColumn,
org.gcube.portlets.user.tdw.server.datasource.Direction sortingDirection,
int start,
int limit) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetName, getTableSizeQuery, supportDataBasepublic 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 SQLDialectSQLExceptionpublic PreparedStatement createDataPreparedStatement(Connection connection, String tableName, String sortingColumn, org.gcube.portlets.user.tdw.server.datasource.Direction sortingDirection, int start, int limit) throws SQLException
createDataPreparedStatement in interface SQLDialectSQLExceptionpublic abstract String getDataQuery(String tableName, String sortingColumn, org.gcube.portlets.user.tdw.server.datasource.Direction sortingDirection)
tableName - sortingColumn - the sorting column, can be null.sortingDirection - the sorting direction, can be null.Copyright © 2018. All Rights Reserved.