com.ontimize.db.handler
Class SQLServerSQLStatementHandler
java.lang.Object
com.ontimize.db.handler.DefaultSQLStatementHandler
com.ontimize.db.handler.SQLServerSQLStatementHandler
- All Implemented Interfaces:
- SQLStatementHandler
- public class SQLServerSQLStatementHandler
- extends DefaultSQLStatementHandler
|
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. |
protected java.lang.String |
createSelectQuery(java.lang.String table,
java.util.Vector askedColumns,
int recordsNumber,
boolean forceDistinct)
|
boolean |
isDelimited()
|
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, createSelectQuery, createSortStatement, createSortStatement, createUpdateQuery, getColumnNames, getQueryConditionsProcessor, getSQLNameEval, hasIsolationFunction, 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 |
SQLServerSQLStatementHandler
public SQLServerSQLStatementHandler()
isPageable
public boolean isPageable()
- Specified by:
isPageable in interface SQLStatementHandler- Overrides:
isPageable in class DefaultSQLStatementHandler
isDelimited
public boolean isDelimited()
- Specified by:
isDelimited in interface SQLStatementHandler- Overrides:
isDelimited in class DefaultSQLStatementHandler
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
protected java.lang.String createSelectQuery(java.lang.String table,
java.util.Vector askedColumns,
int recordsNumber,
boolean forceDistinct)