类 FreeMarkerSqlTpl
java.lang.Object
org.nutz.dao.impl.sql.NutStatement
org.nutz.dao.impl.sql.NutSql
org.nutz.spring.boot.dao.sqltpl.NutSqlTpl
org.nutz.spring.boot.dao.sqltpl.impl.freemarker.FreeMarkerSqlTpl
- 所有已实现的接口:
Serializable,org.nutz.dao.sql.DaoStatement,org.nutz.dao.sql.Sql
- 作者:
- Kerbores(kerbores@gmail.com)
- 另请参阅:
-
字段概要
字段从类继承的字段 org.nutz.spring.boot.dao.sqltpl.NutSqlTpl
renderComplete从类继承的字段 org.nutz.dao.impl.sql.NutSql
callback, customValueAdaptor, items, paramIndex, params, placeholder, rows, sourceSql, varIndex, vars从类继承的字段 org.nutz.dao.impl.sql.NutStatement
expert -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static org.nutz.dao.sql.Sqlc(org.nutz.dao.sql.Sql sql) 渲染一个Sql对象static freemarker.template.Configurationcfg()获取Configurationprotected voidrender()static voidsetConfiguration(freemarker.template.Configuration cfg) 设置Configuration从类继承的方法 org.nutz.spring.boot.dao.sqltpl.NutSqlTpl
checkRender, getAdaptors, getParamMatrix, toPreparedStatement从类继承的方法 org.nutz.dao.impl.sql.NutSql
_params_count, addBatch, appendSourceSql, changePlaceholder, clearBatch, duplicate, getOutParams, getSourceSql, literal, onAfter, onBefore, paramIndex, params, setCallback, setCondition, setEntity, setPager, setParam, setParams, setSourceSql, setValueAdaptor, setVar, setVars, varIndex, vars从类继承的方法 org.nutz.dao.impl.sql.NutStatement
forceExecQuery, forPrint, getAdapterBy, getBoolean, getContext, getDouble, getDouble, getEntity, getFloat, getFloat, getInt, getInt, getList, getLong, getLong, getNumber, getObject, getResult, getSqlType, getString, getUpdateCount, isAlter, isCall, isCreate, isDelete, isDrop, isExec, isForceExecQuery, isInsert, isOther, isRun, isSelect, isUpdate, param2String, setContext, setExpert, setQueryTimeout, setSqlType, toExampleStatement, toStatement, toString从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait从接口继承的方法 org.nutz.dao.sql.DaoStatement
forceExecQuery, forPrint, getBoolean, getContext, getDouble, getDouble, getEntity, getFloat, getFloat, getInt, getInt, getList, getLong, getLong, getNumber, getObject, getResult, getSqlType, getString, getUpdateCount, isAlter, isCall, isCreate, isDelete, isDrop, isExec, isForceExecQuery, isInsert, isOther, isRun, isSelect, isUpdate, setExpert, setQueryTimeout, toString
-
字段详细资料
-
cfg
protected static freemarker.template.Configuration cfg自定义Configuration
-
-
构造器详细资料
-
FreeMarkerSqlTpl
-
-
方法详细资料
-
c
public static org.nutz.dao.sql.Sql c(org.nutz.dao.sql.Sql sql) 渲染一个Sql对象- 参数:
sql- 需要渲染的Sql实例- 返回:
- 原对象,用于链式调用
-
cfg
public static freemarker.template.Configuration cfg()获取Configuration- 返回:
- Configuration实例,如果没有自定义的,就生成一个默认的
-
setConfiguration
public static void setConfiguration(freemarker.template.Configuration cfg) 设置Configuration- 参数:
cfg- 自定义Configuration
-
render
protected void render()
-