类 BeetlSqlTpl

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.beetl.BeetlSqlTpl
所有已实现的接口:
Serializable, org.nutz.dao.sql.DaoStatement, org.nutz.dao.sql.Sql

public class BeetlSqlTpl extends NutSqlTpl
作者:
Kerbores(kerbores@gmail.com)
另请参阅:
  • 字段概要

    字段
    修饰符和类型
    字段
    说明
    protected static org.beetl.core.GroupTemplate
    自定义GroupTemplate

    从类继承的字段 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.Sql
    c(org.nutz.dao.sql.Sql sql)
    渲染一个Sql对象
    static org.beetl.core.GroupTemplate
    gt()
    获取GroupTemplate
    protected void
     
    static void
    setGroupTemplate(org.beetl.core.GroupTemplate gt)
    自定义设置GroupTemplate

    从类继承的方法 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
  • 字段详细资料

    • gt

      protected static org.beetl.core.GroupTemplate gt
      自定义GroupTemplate
  • 构造器详细资料

    • BeetlSqlTpl

      public BeetlSqlTpl(String source)
  • 方法详细资料

    • c

      public static org.nutz.dao.sql.Sql c(org.nutz.dao.sql.Sql sql)
      渲染一个Sql对象
      参数:
      sql - 需要渲染的Sql实例
      返回:
      原对象,用于链式调用
    • setGroupTemplate

      public static void setGroupTemplate(org.beetl.core.GroupTemplate gt)
      自定义设置GroupTemplate
      参数:
      gt - 自定义的GroupTemplate
    • gt

      public static org.beetl.core.GroupTemplate gt()
      获取GroupTemplate
      返回:
      GroupTemplate实例,如果没有自定义,就生成一个默认的
    • render

      protected void render()
      指定者:
      render 在类中 NutSqlTpl