Class DynamicSql
java.lang.Object
com.ibatis.sqlmap.engine.mapping.sql.dynamic.DynamicSql
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds the child.voidcleanup(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.protected voiditeratePropertyReplace(StringBuilder bodyContent, IterateContext iterate) Iterate property replace.protected static voidreplace(StringBuilder builder, String find, String replace) Replace.
-
Constructor Details
-
DynamicSql
Instantiates a new dynamic sql.- Parameters:
delegate- the delegate
-
-
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. -
iteratePropertyReplace
Iterate property replace.- Parameters:
bodyContent- the body contentiterate- the iterate
-
replace
Replace.- Parameters:
builder- the builderfind- the findreplace- the replace
-
addChild
Description copied from interface:DynamicParentAdds the child.- Specified by:
addChildin interfaceDynamicParent- Parameters:
child- the child
-