public class ImportResult extends Object implements Serializable
修飾子とタイプ | メソッドと説明 |
---|---|
boolean |
addLineError(Exception e,
int lineNumber,
String tableName,
TextValue[] importValues)
インポート結果に、エラー情報を追加します。
|
boolean |
addTransactionError(Exception e,
String tableName)
インポート結果に、トランザクションで発生したエラー情報を追加します。
|
long |
getDeleteCount()
DELETE数を取得します。
|
LineRegistError[] |
getErrorLines()
エラー情報の配列を取得します。
|
long |
getInsertCount()
INSERT数を取得します。
|
int |
getLineErrorCount()
エラー数を調べます。
|
String |
getTableName()
テーブル名を取得します。
|
int |
getTransactionErrorCount()
トランザクションで発生したエラー数を取得します。
|
TransactionErrorInfo[] |
getTransactionErrors()
トランザクションエラー情報の配列を取得します。
|
long |
getUpdateCount()
UPDATE数を取得します。
|
boolean |
hasLineError()
エラー情報があるかどうかを調べます。
|
boolean |
hasTransactionError()
トランザクションで発生したエラーがあるかどうかを調べます。
|
void |
incrementDeleteCount()
DELETE数をインクリメントします。
|
void |
incrementInsertCount()
INSERT数をインクリメントします。
|
void |
incrementUpdateCount()
UPDATE数をインクリメントします。
|
boolean |
isOverMaxError()
最大エラーカウントを超えたかどうかを取得します。
|
public boolean addLineError(Exception e, int lineNumber, String tableName, TextValue[] importValues)
e
- 発生した例外オブジェクトlineNumber
- エラーが発生したファイル行番号tableName
- テーブル名importValues
- インポートレコードデータpublic boolean addTransactionError(Exception e, String tableName)
e
- 発生した例外オブジェクトtableName
- テーブル名public long getDeleteCount()
public LineRegistError[] getErrorLines()
public TransactionErrorInfo[] getTransactionErrors()
public long getInsertCount()
public int getLineErrorCount()
public int getTransactionErrorCount()
public String getTableName()
public long getUpdateCount()
public boolean hasLineError()
public boolean hasTransactionError()
public void incrementDeleteCount()
public void incrementInsertCount()
public void incrementUpdateCount()
public boolean isOverMaxError()
Copyright © 2012 NTT DATA INTRAMART CORPORATION