Ontimize 5.2072EN

com.ontimize.db.handler
Class SQLServerSQLStatementHandler

java.lang.Object
  extended bycom.ontimize.db.handler.DefaultSQLStatementHandler
      extended bycom.ontimize.db.handler.SQLServerSQLStatementHandler
All Implemented Interfaces:
SQLStatementHandler

public class SQLServerSQLStatementHandler
extends DefaultSQLStatementHandler


Field Summary
 
Fields inherited from class com.ontimize.db.handler.DefaultSQLStatementHandler
CONFLICT_CHARS, queryConditionsProcessor, sqlNameEval, useAsInSubqueries
 
Constructor Summary
SQLServerSQLStatementHandler()
           
 
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
 

Constructor Detail

SQLServerSQLStatementHandler

public SQLServerSQLStatementHandler()
Method Detail

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 against
requestedColumns - a Vector specifying the requested column name in the query
conditions - condition list used to created the query
wildcards - column list that can use wildcards
columnSorting - column list where query sorting is established
recordCount - number of records requested in the query
forceDistinct - true if query result cannot have duplicated records
descending - 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)

Ontimize