| 
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectorg.seasar.extension.jdbc.query.AbstractQuery<SqlFileBatchUpdate<T>>
org.seasar.extension.jdbc.query.SqlFileBatchUpdateImpl<T>
T - パラメータの型です。public class SqlFileBatchUpdateImpl<T>
SqlFileBatchUpdateの実装クラスです。
| フィールドの概要 | |
|---|---|
protected  int | 
batchSize
バッチサイズ  | 
protected  Node | 
node
SQLの解析ノードです。  | 
protected  java.util.List<T> | 
parameterList
パラメータの配列のリストです。  | 
protected  java.lang.String | 
path
SQLファイルのパスです。  | 
protected  SqlContext | 
sqlContext
SQLコンテキストです。  | 
| クラス org.seasar.extension.jdbc.query.AbstractQuery から継承されたフィールド | 
|---|
callerClass, callerMethodName, completed, executedSql, jdbcManager, logger, paramList, queryTimeout | 
| コンストラクタの概要 | |
|---|---|
SqlFileBatchUpdateImpl(JdbcManagerImplementor jdbcManager,
                       java.lang.String path,
                       java.util.List<T> parameterList)
SqlFileBatchUpdateを作成します。 | 
|
| メソッドの概要 | |
|---|---|
 SqlFileBatchUpdate<T> | 
batchSize(int batchSize)
バッチ更新のサイズを設定します。  | 
 int[] | 
execute()
バッチ更新します。  | 
protected  int[] | 
executeInternal()
データベースの更新を実行します。  | 
 java.lang.String | 
getPath()
SQLファイルのパスを返します。  | 
protected  java.sql.PreparedStatement | 
getPreparedStatement(JdbcContext jdbcContext)
準備されたステートメントを返します。  | 
protected  void | 
prepare(java.lang.String methodName)
クエリの準備をします。  | 
protected  void | 
prepareNode()
SQLの解析ノードを準備します。  | 
protected  void | 
prepareParameter(T parameter)
パラメータを準備します。  | 
protected  void | 
prepareSql()
SQLを準備します。  | 
| クラス org.seasar.extension.jdbc.query.AbstractQuery から継承されたメソッド | 
|---|
addParam, addParam, addParam, addParam, assertNotCompleted, callerClass, callerMethodName, completed, getCallerClass, getCallerMethodName, getExecutedSql, getJdbcManager, getParam, getParamClasses, getParamSize, getParamValues, getParamValueTypes, getQueryTimeout, getValueType, handleResultSet, logSql, logSql, prepareCallerClassAndMethodName, prepareInParams, queryTimeout, resetParams, toStringArray | 
| クラス java.lang.Object から継承されたメソッド | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| インタフェース org.seasar.extension.jdbc.Query から継承されたメソッド | 
|---|
callerClass, callerMethodName, queryTimeout | 
| フィールドの詳細 | 
|---|
protected java.lang.String path
protected java.util.List<T> parameterList
protected int batchSize
protected Node node
protected SqlContext sqlContext
| コンストラクタの詳細 | 
|---|
public SqlFileBatchUpdateImpl(JdbcManagerImplementor jdbcManager,
                              java.lang.String path,
                              java.util.List<T> parameterList)
SqlFileBatchUpdateを作成します。
jdbcManager - 内部的なJDBCマネージャpath - SQLファイルのパスparameterList - パラメータのリスト| メソッドの詳細 | 
|---|
public SqlFileBatchUpdate<T> batchSize(int batchSize)
BatchUpdate の記述: 
BatchUpdate<SqlFileBatchUpdate<T>> 内の batchSizebatchSize - バッチ更新のサイズ
public int[] execute()
BatchUpdate の記述: 
BatchUpdate<SqlFileBatchUpdate<T>> 内の executeprotected int[] executeInternal()
public java.lang.String getPath()
protected java.sql.PreparedStatement getPreparedStatement(JdbcContext jdbcContext)
jdbcContext - JDBCコンテキスト
protected void prepare(java.lang.String methodName)
AbstractQuery の記述: 
AbstractQuery<SqlFileBatchUpdate<T>> 内の preparemethodName - メソッド名
protected void prepareNode()
                    throws ResourceNotFoundRuntimeException
ResourceNotFoundRuntimeException - パスに対応するリソースが見つからない場合。protected void prepareParameter(T parameter)
parameter - パラメータprotected void prepareSql()
  | 
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||