Class SimpleDynamicSql
java.lang.Object
com.ibatis.sqlmap.engine.mapping.sql.simple.SimpleDynamicSql
-
Constructor Summary
ConstructorsConstructorDescriptionSimpleDynamicSql(SqlMapExecutorDelegate delegate, String sqlStatement) Instantiates a new simple dynamic sql. -
Method Summary
Modifier and TypeMethodDescriptionvoidcleanup(StatementScope statementScope) Cleanup.getParameterMap(StatementScope statementScope, Object parameterObject) Gets the parameter map.getResultMap(StatementScope statementScope, Object parameterObject) Gets the result map.getSql(StatementScope statementScope, Object parameterObject) Gets the sql.static booleanisSimpleDynamicSql(String sql) Checks if is simple dynamic sql.
-
Constructor Details
-
SimpleDynamicSql
Instantiates a new simple dynamic sql.- Parameters:
delegate- the delegatesqlStatement- the sql statement
-
-
Method Details
-
getSql
-
getParameterMap
Description copied from interface:SqlGets the parameter map.- Specified by:
getParameterMapin interfaceSql- Parameters:
statementScope- the statement scopeparameterObject- the parameter object- Returns:
- the parameter map
-
getResultMap
Description copied from interface:SqlGets the result map.- Specified by:
getResultMapin interfaceSql- Parameters:
statementScope- the statement scopeparameterObject- the parameter object- Returns:
- the result map
-
cleanup
Description copied from interface:SqlCleanup. -
isSimpleDynamicSql
Checks if is simple dynamic sql.- Parameters:
sql- the sql- Returns:
- true, if is simple dynamic sql
-