jp.terasoluna.fw.collector.db
クラス DBValidateCollector<P>

java.lang.Object
  上位を拡張 jp.terasoluna.fw.collector.AbstractCollector<P>
      上位を拡張 jp.terasoluna.fw.collector.db.DBCollector<P>
          上位を拡張 jp.terasoluna.fw.collector.db.DBValidateCollector<P>
すべての実装されたインタフェース:
Closeable, Cloneable, Iterable<P>, Callable<Integer>, Iterator<P>, Collector<P>

public class DBValidateCollector<P>
extends DBCollector<P>

DBValidateCollector
独立した別スレッドを起動し、QueryRowHandleDAOを非同期で実行する。


フィールドの概要
 
クラス jp.terasoluna.fw.collector.db.DBCollector から継承されたフィールド
bindParams, dbCollectorPostprocess, dbCollectorPreprocess, queryRowHandleDAO, queueingDataRowHandlerClass, rowHandler, sqlID
 
クラス jp.terasoluna.fw.collector.AbstractCollector から継承されたフィールド
acquireDataCount, beginning, child, CURRENT_QUEUE_CHECK_SIZE, currentQueue, DEFAULT_QUEUE_SIZE, DEFAULT_SLEEP_WAIT, exceptionHandler, finish, fo, PREVIOUS_QUEUE_CHECK_SIZE, previousQueue, queue, queueSize, sleepWait, validationErrorHandler, validator, verboseLog
 
コンストラクタの概要
DBValidateCollector(DBCollectorConfig config)
          DBValidateCollectorコンストラクタ
DBValidateCollector(jp.terasoluna.fw.dao.QueryRowHandleDAO queryRowHandleDAO, String sqlID, Object bindParams, boolean relation1n, org.springframework.validation.Validator validator)
          DBValidateCollectorコンストラクタ
DBValidateCollector(jp.terasoluna.fw.dao.QueryRowHandleDAO queryRowHandleDAO, String sqlID, Object bindParams, boolean relation1n, org.springframework.validation.Validator validator, ValidationErrorHandler validationErrorHandler)
          DBValidateCollectorコンストラクタ
DBValidateCollector(jp.terasoluna.fw.dao.QueryRowHandleDAO queryRowHandleDAO, String sqlID, Object bindParams, int queueSize, boolean relation1n, CollectorExceptionHandler exceptionHandler, DBCollectorPreprocess dbCollectorPreprocess, DBCollectorPostprocess dbCollectorPostprocess, org.springframework.validation.Validator validator)
          DBValidateCollectorコンストラクタ
DBValidateCollector(jp.terasoluna.fw.dao.QueryRowHandleDAO queryRowHandleDAO, String sqlID, Object bindParams, int queueSize, boolean relation1n, CollectorExceptionHandler exceptionHandler, DBCollectorPreprocess dbCollectorPreprocess, DBCollectorPostprocess dbCollectorPostprocess, org.springframework.validation.Validator validator, ValidationErrorHandler validationErrorHandler)
          DBValidateCollectorコンストラクタ
DBValidateCollector(jp.terasoluna.fw.dao.QueryRowHandleDAO queryRowHandleDAO, String sqlID, Object bindParams, int queueSize, CollectorExceptionHandler exceptionHandler, org.springframework.validation.Validator validator)
          DBValidateCollectorコンストラクタ
DBValidateCollector(jp.terasoluna.fw.dao.QueryRowHandleDAO queryRowHandleDAO, String sqlID, Object bindParams, int queueSize, CollectorExceptionHandler exceptionHandler, org.springframework.validation.Validator validator, ValidationErrorHandler validationErrorHandler)
          DBValidateCollectorコンストラクタ
DBValidateCollector(jp.terasoluna.fw.dao.QueryRowHandleDAO queryRowHandleDAO, String sqlID, Object bindParams, int queueSize, org.springframework.validation.Validator validator)
          DBValidateCollectorコンストラクタ
DBValidateCollector(jp.terasoluna.fw.dao.QueryRowHandleDAO queryRowHandleDAO, String sqlID, Object bindParams, int queueSize, org.springframework.validation.Validator validator, ValidationErrorHandler validationErrorHandler)
          DBValidateCollectorコンストラクタ
DBValidateCollector(jp.terasoluna.fw.dao.QueryRowHandleDAO queryRowHandleDAO, String sqlID, Object bindParams, org.springframework.validation.Validator validator)
          DBValidateCollectorコンストラクタ
DBValidateCollector(jp.terasoluna.fw.dao.QueryRowHandleDAO queryRowHandleDAO, String sqlID, Object bindParams, org.springframework.validation.Validator validator, ValidationErrorHandler validationErrorHandler)
          DBValidateCollectorコンストラクタ
 
メソッドの概要
 
クラス jp.terasoluna.fw.collector.db.DBCollector から継承されたメソッド
addQueue, call, clone, getDataRowHandler
 
クラス jp.terasoluna.fw.collector.AbstractCollector から継承されたメソッド
addQueue, close, closeQuietly, createCurrentQueue, createPreviousQueue, createQueue, execute, finalize, getCurrent, getExecutor, getNext, getPrevious, getQueue, getSleepWait, handleException, handleValidationError, hasNext, isFinish, iterator, next, remove, setFinish, setFinish, setQueueSize, setSleepWait, setVerbose, validate
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

DBValidateCollector

public DBValidateCollector(jp.terasoluna.fw.dao.QueryRowHandleDAO queryRowHandleDAO,
                           String sqlID,
                           Object bindParams,
                           org.springframework.validation.Validator validator)
DBValidateCollectorコンストラクタ

パラメータ:
queryRowHandleDAO - QueryRowHandleDAOインスタンス
sqlID - 実行するSQLのID
bindParams - SQLにバインドする値を格納したオブジェクト
validator - Validator 入力チェックを行うバリデータ

DBValidateCollector

public DBValidateCollector(jp.terasoluna.fw.dao.QueryRowHandleDAO queryRowHandleDAO,
                           String sqlID,
                           Object bindParams,
                           org.springframework.validation.Validator validator,
                           ValidationErrorHandler validationErrorHandler)
DBValidateCollectorコンストラクタ

パラメータ:
queryRowHandleDAO - QueryRowHandleDAOインスタンス
sqlID - 実行するSQLのID
bindParams - SQLにバインドする値を格納したオブジェクト
validator - Validator 入力チェックを行うバリデータ
validationErrorHandler - ValidationErrorHandler 入力チェックエラー時に行う処理

DBValidateCollector

public DBValidateCollector(jp.terasoluna.fw.dao.QueryRowHandleDAO queryRowHandleDAO,
                           String sqlID,
                           Object bindParams,
                           boolean relation1n,
                           org.springframework.validation.Validator validator)
DBValidateCollectorコンストラクタ

パラメータ:
queryRowHandleDAO - QueryRowHandleDAOインスタンス
sqlID - 実行するSQLのID
bindParams - SQLにバインドする値を格納したオブジェクト
relation1n - 1:Nマッピング使用時はtrue
validator - Validator 入力チェックを行うバリデータ

DBValidateCollector

public DBValidateCollector(jp.terasoluna.fw.dao.QueryRowHandleDAO queryRowHandleDAO,
                           String sqlID,
                           Object bindParams,
                           boolean relation1n,
                           org.springframework.validation.Validator validator,
                           ValidationErrorHandler validationErrorHandler)
DBValidateCollectorコンストラクタ

パラメータ:
queryRowHandleDAO - QueryRowHandleDAOインスタンス
sqlID - 実行するSQLのID
bindParams - SQLにバインドする値を格納したオブジェクト
relation1n - 1:Nマッピング使用時はtrue
validator - Validator 入力チェックを行うバリデータ
validationErrorHandler - ValidationErrorHandler 入力チェックエラー時に行う処理

DBValidateCollector

public DBValidateCollector(jp.terasoluna.fw.dao.QueryRowHandleDAO queryRowHandleDAO,
                           String sqlID,
                           Object bindParams,
                           int queueSize,
                           org.springframework.validation.Validator validator)
DBValidateCollectorコンストラクタ

パラメータ:
queryRowHandleDAO - QueryRowHandleDAOインスタンス
sqlID - 実行するSQLのID
bindParams - SQLにバインドする値を格納したオブジェクト
queueSize - キューのサイズ(1以上を設定すること)
validator - Validator 入力チェックを行うバリデータ

DBValidateCollector

public DBValidateCollector(jp.terasoluna.fw.dao.QueryRowHandleDAO queryRowHandleDAO,
                           String sqlID,
                           Object bindParams,
                           int queueSize,
                           org.springframework.validation.Validator validator,
                           ValidationErrorHandler validationErrorHandler)
DBValidateCollectorコンストラクタ

パラメータ:
queryRowHandleDAO - QueryRowHandleDAOインスタンス
sqlID - 実行するSQLのID
bindParams - SQLにバインドする値を格納したオブジェクト
queueSize - キューのサイズ(1以上を設定すること)
validator - Validator 入力チェックを行うバリデータ
validationErrorHandler - ValidationErrorHandler 入力チェックエラー時に行う処理

DBValidateCollector

public DBValidateCollector(jp.terasoluna.fw.dao.QueryRowHandleDAO queryRowHandleDAO,
                           String sqlID,
                           Object bindParams,
                           int queueSize,
                           CollectorExceptionHandler exceptionHandler,
                           org.springframework.validation.Validator validator)
DBValidateCollectorコンストラクタ

パラメータ:
queryRowHandleDAO - QueryRowHandleDAOインスタンス
sqlID - 実行するSQLのID
bindParams - SQLにバインドする値を格納したオブジェクト
queueSize - キューのサイズ(1以上を設定すること)
exceptionHandler - 例外ハンドラ
validator - Validator 入力チェックを行うバリデータ

DBValidateCollector

public DBValidateCollector(jp.terasoluna.fw.dao.QueryRowHandleDAO queryRowHandleDAO,
                           String sqlID,
                           Object bindParams,
                           int queueSize,
                           CollectorExceptionHandler exceptionHandler,
                           org.springframework.validation.Validator validator,
                           ValidationErrorHandler validationErrorHandler)
DBValidateCollectorコンストラクタ

パラメータ:
queryRowHandleDAO - QueryRowHandleDAOインスタンス
sqlID - 実行するSQLのID
bindParams - SQLにバインドする値を格納したオブジェクト
queueSize - キューのサイズ(1以上を設定すること)
exceptionHandler - 例外ハンドラ
validator - Validator 入力チェックを行うバリデータ
validationErrorHandler - ValidationErrorHandler 入力チェックエラー時に行う処理

DBValidateCollector

public DBValidateCollector(jp.terasoluna.fw.dao.QueryRowHandleDAO queryRowHandleDAO,
                           String sqlID,
                           Object bindParams,
                           int queueSize,
                           boolean relation1n,
                           CollectorExceptionHandler exceptionHandler,
                           DBCollectorPreprocess dbCollectorPreprocess,
                           DBCollectorPostprocess dbCollectorPostprocess,
                           org.springframework.validation.Validator validator)
DBValidateCollectorコンストラクタ

パラメータ:
queryRowHandleDAO - QueryRowHandleDAOインスタンス
sqlID - 実行するSQLのID
bindParams - SQLにバインドする値を格納したオブジェクト
queueSize - キューのサイズ(1以上を設定すること)
relation1n - 1:Nマッピング使用時はtrue
exceptionHandler - 例外ハンドラ
dbCollectorPreprocess - DBCollector前処理
dbCollectorPostprocess - DBCollector後処理
validator - Validator 入力チェックを行うバリデータ

DBValidateCollector

public DBValidateCollector(jp.terasoluna.fw.dao.QueryRowHandleDAO queryRowHandleDAO,
                           String sqlID,
                           Object bindParams,
                           int queueSize,
                           boolean relation1n,
                           CollectorExceptionHandler exceptionHandler,
                           DBCollectorPreprocess dbCollectorPreprocess,
                           DBCollectorPostprocess dbCollectorPostprocess,
                           org.springframework.validation.Validator validator,
                           ValidationErrorHandler validationErrorHandler)
DBValidateCollectorコンストラクタ

パラメータ:
queryRowHandleDAO - QueryRowHandleDAOインスタンス
sqlID - 実行するSQLのID
bindParams - SQLにバインドする値を格納したオブジェクト
queueSize - キューのサイズ(1以上を設定すること)
relation1n - 1:Nマッピング使用時はtrue
exceptionHandler - 例外ハンドラ
dbCollectorPreprocess - DBCollector前処理
dbCollectorPostprocess - DBCollector後処理
validator - Validator 入力チェックを行うバリデータ
validationErrorHandler - ValidationErrorHandler 入力チェックエラー時に行う処理

DBValidateCollector

public DBValidateCollector(DBCollectorConfig config)
DBValidateCollectorコンストラクタ

パラメータ:
config - DBCollectorConfig DBCollector設定項目


Copyright © 2012. All Rights Reserved.