com.ontimize.db.handler
Class PostgresSQLStatementHandler
java.lang.Object
com.ontimize.db.handler.DefaultSQLStatementHandler
com.ontimize.db.handler.PostgresSQLStatementHandler
- All Implemented Interfaces:
- SQLStatementHandler
- public class PostgresSQLStatementHandler
- extends DefaultSQLStatementHandler
|
Field Summary |
static java.lang.String |
LIMIT
|
static java.lang.String |
OFFSET
|
|
Method Summary |
SQLStatementBuilder.SQLStatement |
createSelectQuery(java.lang.String table,
java.util.Vector requestedColumns,
java.util.Hashtable conditions,
java.util.Vector wildcards,
java.util.Vector columnSorting,
int recordCount,
boolean descending,
boolean forceDistinct)
Returns a SQLStatement class that stores the information
needed to execute a select query. |
SQLStatementBuilder.SQLStatement |
createSelectQuery(java.lang.String table,
java.util.Vector requestedColumns,
java.util.Hashtable conditions,
java.util.Vector wildcards,
java.util.Vector columnSorting,
int recordCount,
int offset,
boolean descending,
boolean forceDistinct)
|
boolean |
isPageable()
|
| Methods inherited from class com.ontimize.db.handler.DefaultSQLStatementHandler |
addSpecialCharacters, changeColumnNames, checkColumnName, createCountQuery, createCountQuery, createDeleteQuery, createInsertQuery, createJoinSelectQuery, createJoinSelectQuery, createQueryConditions, createQueryConditions, createQueryConditionsWithoutWhere, createSelectQuery, createSelectQuery, createSelectQuery, createSelectQuery, createSelectQuery, createSelectQuery, createSelectQuery, createSelectQuery, createSelectQuery, createSelectQuery, createSortStatement, createSortStatement, createUpdateQuery, getColumnNames, getQueryConditionsProcessor, getSQLNameEval, hasIsolationFunction, isDelimited, isUseAsInSubqueries, qualify, readBinaryStream, readCharacterStream, readCharacterStream, resultSetToEntityResult, resultSetToEntityResult, setSQLConditionValuesProcessor, setSQLNameEval, setUseAsInSubqueries |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LIMIT
public static final java.lang.String LIMIT
- See Also:
- Constant Field Values
OFFSET
public static final java.lang.String OFFSET
- See Also:
- Constant Field Values
PostgresSQLStatementHandler
public PostgresSQLStatementHandler()
createSelectQuery
public SQLStatementBuilder.SQLStatement createSelectQuery(java.lang.String table,
java.util.Vector requestedColumns,
java.util.Hashtable conditions,
java.util.Vector wildcards,
java.util.Vector columnSorting,
int recordCount,
boolean descending,
boolean forceDistinct)
- Description copied from class:
DefaultSQLStatementHandler
- Returns a
SQLStatement class that stores the information
needed to execute a select query.
- Specified by:
createSelectQuery in interface SQLStatementHandler- Overrides:
createSelectQuery in class DefaultSQLStatementHandler
- Parameters:
table - name of the table the query is executed againstrequestedColumns - a Vector specifying the requested column name in the queryconditions - condition list used to created the querywildcards - column list that can use wildcardscolumnSorting - column list where query sorting is establishedrecordCount - number of records requested in the queryforceDistinct - true if query result cannot have duplicated recordsdescending - true if sorting should be descending
- Returns:
- a
SQLStatement class - See Also:
SQLStatementBuilder.SQLStatement
createSelectQuery
public SQLStatementBuilder.SQLStatement createSelectQuery(java.lang.String table,
java.util.Vector requestedColumns,
java.util.Hashtable conditions,
java.util.Vector wildcards,
java.util.Vector columnSorting,
int recordCount,
int offset,
boolean descending,
boolean forceDistinct)
- Specified by:
createSelectQuery in interface SQLStatementHandler- Overrides:
createSelectQuery in class DefaultSQLStatementHandler
isPageable
public boolean isPageable()
- Specified by:
isPageable in interface SQLStatementHandler- Overrides:
isPageable in class DefaultSQLStatementHandler