org.norther.tammi.root.ojb.platform
Interface SQLPlatform

All Superinterfaces:
Platform
All Known Implementing Classes:
PlatformMySQLEL

public interface SQLPlatform
extends Platform

Extends Platform with SQL query support.

Version:
$Id: SQLPlatform.java,v 1.1 2009/10/01 22:54:22 cvsimp Exp $
Author:
Ilkka Priha

Method Summary
 StringBuffer appendQueryClass(ClassDescriptor cld, StringBuffer buffer)
          Appends a class descriptor table to the SQL query statement buffer.
 StringBuffer appendQueryColumn(String column, StringBuffer buffer)
          Appends a named column to the SQL query statement buffer.
 StringBuffer appendQueryColumn(String tableOrAlias, String column, StringBuffer buffer)
          Appends a named column with a table alias to the SQL query statement buffer.
 StringBuffer appendQueryField(FieldDescriptor fld, StringBuffer buffer)
          Appends a field descriptor column to the SQL query statement buffer.
 StringBuffer appendQueryField(String tableOrAlias, FieldDescriptor fld, StringBuffer buffer)
          Appends a field descriptor column with a table alias to the SQL query statement buffer.
 StringBuffer appendQueryTable(String tableOrAlias, StringBuffer buffer)
          Append a named table to the SQL query statement buffer.
 
Methods inherited from interface org.apache.ojb.broker.platforms.Platform
addBatch, addLimitSql, addPagingSql, afterStatementClose, afterStatementCreate, beforeBatch, beforeStatementClose, buildLimit, buildOffset, changeAutoCommitState, changeAutoCommitState, concatenate, createSequenceQuery, createSequenceQuery, dropSequenceQuery, executeBatch, getEscapeClause, getGeneratedKeys, getJoinSyntaxType, getLastInsertIdentityQuery, getSelectForUpdateClause, initializeJdbcConnection, initializeJdbcConnection, limitAfterSelect, limitBeforeOffset, limitOffsetValuesEmbedded, locatorsUpdateCopy, nextSequenceQuery, postPrepareReadInValue, prepareNextValProcedureStatement, quoteName, registerOutResultSet, setNullForStatement, setObjectForStatement, setObjectForStatement, supportsBatchOperations, supportsGetGeneratedKeys, supportsLimit, supportsMultiColumnCountDistinct, supportsOffset, supportsOrderByInSubSelect, useCountForResultsetSize
 

Method Detail

appendQueryTable

StringBuffer appendQueryTable(String tableOrAlias,
                              StringBuffer buffer)
Append a named table to the SQL query statement buffer.

Parameters:
tableOrAlias - the table or alias.
buffer - the statement buffer.
Returns:
the updated buffer.

appendQueryClass

StringBuffer appendQueryClass(ClassDescriptor cld,
                              StringBuffer buffer)
Appends a class descriptor table to the SQL query statement buffer.

Parameters:
cld - the class descriptor.
buffer - the statement buffer.
Returns:
the updated buffer.

appendQueryColumn

StringBuffer appendQueryColumn(String column,
                               StringBuffer buffer)
Appends a named column to the SQL query statement buffer.

Parameters:
column - the column name.
buffer - the statement buffer.
Returns:
the updated buffer.

appendQueryColumn

StringBuffer appendQueryColumn(String tableOrAlias,
                               String column,
                               StringBuffer buffer)
Appends a named column with a table alias to the SQL query statement buffer.

Parameters:
tableOrAlias - the table or alias.
column - the column name.
buffer - the statement buffer.
Returns:
the updated buffer.

appendQueryField

StringBuffer appendQueryField(FieldDescriptor fld,
                              StringBuffer buffer)
Appends a field descriptor column to the SQL query statement buffer.

Parameters:
fld - the field descriptor.
buffer - the statement buffer.
Returns:
the updated buffer.

appendQueryField

StringBuffer appendQueryField(String tableOrAlias,
                              FieldDescriptor fld,
                              StringBuffer buffer)
Appends a field descriptor column with a table alias to the SQL query statement buffer.

Parameters:
tableOrAlias - the table or alias.
fld - the field descriptor.
buffer - the statement buffer.
Returns:
the updated buffer.


Copyright © 2004 The Norther Organization. All rights reserved.