类 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
public class FreeMarkerSqlTpl extends NutSqlTpl
- 作者:
- kerbores
- 另请参阅:
- 序列化表格
-
-
字段概要
字段 修饰符和类型 字段 说明 protected static freemarker.template.Configurationcfg自定义Configuration-
从类继承的字段 org.nutz.spring.boot.dao.sqltpl.NutSqlTpl
renderComplete
-
-
构造器概要
构造器 构造器 说明 FreeMarkerSqlTpl(String source)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 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
-
-
-
-
构造器详细资料
-
FreeMarkerSqlTpl
public FreeMarkerSqlTpl(String source)
-
-
方法详细资料
-
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
-
-