类 TextRun

所有已实现的接口:
Run, Run
直接已知子类:
SimpleRun, XMLRun

public class TextRun extends AbstractRun implements Run
  • 字段详细资料

    • supportSqlVarPlaceholderRegexExt

      protected boolean supportSqlVarPlaceholderRegexExt
  • 构造器详细资料

    • TextRun

      public TextRun()
  • 方法详细资料

    • setPrepare

      public Run setPrepare(RunPrepare prepare)
      指定者:
      setPrepare 在接口中 Run
      覆盖:
      setPrepare 在类中 AbstractRun
    • init

      public void init()
      指定者:
      init 在接口中 Run
      指定者:
      init 在接口中 Run
      覆盖:
      init 在类中 AbstractRun
    • checkValid

      public boolean checkValid()
      指定者:
      checkValid 在接口中 Run
      指定者:
      checkValid 在接口中 Run
      覆盖:
      checkValid 在类中 AbstractRun
    • appendGroup

      public void appendGroup(DataRuntime runtime, Boolean placeholder, Boolean unicode)
    • appendCondition

      public void appendCondition(Boolean placeholder, Boolean unicode)
      拼接查询条件
    • setConfigs

      public void setConfigs(ConfigStore configs)
    • setConditionValue

      public Run setConditionValue(Compare.EMPTY_VALUE_SWITCH swt, Compare compare, String condition, String variable, Object value)
      从接口复制的说明: Run
      添加查询条件
      指定者:
      setConditionValue 在接口中 Run
      覆盖:
      setConditionValue 在类中 AbstractRun
      参数:
      swt - 遇到空值处理方式
      compare - 比较方式
      condition - 查询条件ID或表名
      variable - 列名|变量key
      value - 值
      返回:
      Run 最终执行命令 如JDBC环境中的 SQL 与 参数值
    • addValues

      public TextRun addValues(String key, Object obj)
      添加参数值
      参数:
      key - key
      obj - obj
      返回:
      TextRun
    • add

      public Run add(OrderStore orders)
      指定者:
      add 在接口中 Run
      覆盖:
      add 在类中 AbstractRun
    • add

      public Run add(Order order)
      指定者:
      add 在接口中 Run
      覆盖:
      add 在类中 AbstractRun
    • addCondition

      public Run addCondition(String condition, String variable, Object value)
      添加静态文本查询条件
      参数:
      condition - condition
      variable - variable
      value - value
      返回:
      Run 最终执行命令 如JDBC环境中的 SQL 与 参数值
    • addCondition

      public Run addCondition(Compare.EMPTY_VALUE_SWITCH swt, Compare compare, String prefix, String var, Object value)
      添加查询条件
      参数:
      swt - 空值处理方式
      prefix - 表名
      var - 列名
      value - 值
      compare - 比较方式
      返回:
      Run 最终执行命令 如JDBC环境中的 SQL 与 参数值
    • getVariable

      public Variable getVariable(String key)
      指定者:
      getVariable 在接口中 Run
      覆盖:
      getVariable 在类中 AbstractRun
    • getVariables

      public List<Variable> getVariables(String key)
    • supportSqlVarPlaceholderRegexExt

      public boolean supportSqlVarPlaceholderRegexExt()
    • supportSqlVarPlaceholderRegexExt

      public void supportSqlVarPlaceholderRegexExt(boolean supportSqlVarPlaceholderRegexExt)