クラス SqlUpdateImpl
- java.lang.Object
-
- com.github.mygreen.sqlmapper.core.query.sql.SqlUpdateImpl
-
-
コンストラクタの概要
コンストラクタ コンストラクタ 説明 SqlUpdateImpl(SqlMapperContext context, com.github.mygreen.splate.SqlTemplate template, com.github.mygreen.splate.SqlTemplateContext parameter)
-
メソッドの概要
すべてのメソッド インスタンス・メソッド concreteメソッド 修飾子とタイプ メソッド 説明 intexecute()更新クエリを実行します。SqlMapperContextgetContext()SqlMapperの設定情報。com.github.mygreen.splate.SqlTemplateContextgetParameter()SQLテンプレートのパラメータです。IntegergetQueryTimeout()com.github.mygreen.splate.SqlTemplategetTemplate()SQLテンプレートです。SqlUpdateImplqueryTimeout(int seconds)クエリタイムアウトの秒数を設定します。
-
-
-
コンストラクタの詳細
-
SqlUpdateImpl
public SqlUpdateImpl(SqlMapperContext context, com.github.mygreen.splate.SqlTemplate template, com.github.mygreen.splate.SqlTemplateContext parameter)
-
-
メソッドの詳細
-
queryTimeout
public SqlUpdateImpl queryTimeout(int seconds)
インタフェースからコピーされた説明:SqlUpdateクエリタイムアウトの秒数を設定します。-1 を指定するとJDBC ドライバーのデフォルト値を使用します。
- 定義:
queryTimeoutインタフェース内SqlUpdate- パラメータ:
seconds- クエリタイムアウトの秒数- 戻り値:
- 自身のインスタンス。
-
execute
public int execute()
インタフェースからコピーされた説明:SqlUpdate更新クエリを実行します。
-
getContext
public SqlMapperContext getContext()
SqlMapperの設定情報。
-
getTemplate
public com.github.mygreen.splate.SqlTemplate getTemplate()
SQLテンプレートです。
-
getParameter
public com.github.mygreen.splate.SqlTemplateContext getParameter()
SQLテンプレートのパラメータです。
-
getQueryTimeout
public Integer getQueryTimeout()
-
-