public class PostgresSQL_8_x_x_SQLDialect extends AbstractSQLDialect
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
useSizeEstimation |
logger| Constructor and Description |
|---|
PostgresSQL_8_x_x_SQLDialect() |
PostgresSQL_8_x_x_SQLDialect(boolean useSizeEstimation) |
| 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.
|
boolean |
supportDataBase(String databaseProductName,
int databaseMajorVersion,
int databaseMinorVersion)
Checks if the specified database system is compatible with this dialect.
|
createDataPreparedStatement, setDataPreparedStatementParameterspublic PostgresSQL_8_x_x_SQLDialect()
public PostgresSQL_8_x_x_SQLDialect(boolean useSizeEstimation)
useSizeEstimation - public String getName()
public boolean supportDataBase(String databaseProductName, int databaseMajorVersion, int databaseMinorVersion)
public String getTableSizeQuery(String tableName)
public 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 © 2016. All Rights Reserved.