com.ibatis.sqlmap.engine.mapping.sql.raw
Class RawSql

java.lang.Object
  extended by com.ibatis.sqlmap.engine.mapping.sql.raw.RawSql
All Implemented Interfaces:
Sql

public class RawSql
extends Object
implements Sql

A non-executable SQL container simply for communicating raw SQL around the framework.


Constructor Summary
RawSql(String sql)
           
 
Method Summary
 void cleanup(StatementScope statementScope)
           
 ParameterMap getParameterMap(StatementScope statementScope, Object parameterObject)
           
 ResultMap getResultMap(StatementScope statementScope, Object parameterObject)
           
 String getSql(StatementScope statementScope, Object parameterObject)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RawSql

public RawSql(String sql)
Method Detail

getSql

public String getSql(StatementScope statementScope,
                     Object parameterObject)
Specified by:
getSql in interface Sql

getParameterMap

public ParameterMap getParameterMap(StatementScope statementScope,
                                    Object parameterObject)
Specified by:
getParameterMap in interface Sql

getResultMap

public ResultMap getResultMap(StatementScope statementScope,
                              Object parameterObject)
Specified by:
getResultMap in interface Sql

cleanup

public void cleanup(StatementScope statementScope)
Specified by:
cleanup in interface Sql


Copyright © 2010. All Rights Reserved.