|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectorg.seasar.extension.jdbc.gen.internal.data.DumperImpl
public class DumperImpl
Dumper
の実装クラスです。
フィールドの概要 | |
---|---|
protected char |
delimiter
区切り文字 |
protected GenDialect |
dialect
方言 |
protected java.lang.String |
dumpFileEncoding
ダンプファイルのエンコーディング |
protected java.lang.String |
extension
拡張子 |
protected static Logger |
logger
ロガー |
コンストラクタの概要 | |
---|---|
DumperImpl(GenDialect dialect,
java.lang.String dumpFileEncoding)
インスタンスを構築します。 |
メソッドの概要 | |
---|---|
protected java.lang.String |
buildSql(TableDesc tableDesc)
SQLを組み立てます。 |
protected java.lang.String |
buildSqlWithSort(TableDesc tableDesc)
ORDER BY句をもつSQLを組み立てます。 |
protected DumpFileWriter |
createDumpFileWriter(java.io.File dumpFile,
TableDesc tableDesc)
ダンプファイルのライタを返します。 |
void |
dump(SqlExecutionContext sqlExecutionContext,
DatabaseDesc databaseDesc,
java.io.File dumpDir)
ダンプします。 |
protected void |
dumpRows(java.sql.Statement statement,
DumpFileWriter writer,
java.lang.String sql)
データをダンプします。 |
protected void |
dumpTable(SqlExecutionContext sqlExecutionContext,
TableDesc tableDesc,
DumpFileWriter writer)
テーブルのデータをダンプします。 |
protected boolean |
dumpTableWithSort(SqlExecutionContext sqlExecutionContext,
TableDesc tableDesc,
DumpFileWriter writer)
テーブルのデータをソートしてダンプします。 |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
---|
protected static Logger logger
protected java.lang.String dumpFileEncoding
protected GenDialect dialect
protected java.lang.String extension
protected char delimiter
コンストラクタの詳細 |
---|
public DumperImpl(GenDialect dialect, java.lang.String dumpFileEncoding)
dialect
- 方言dumpFileEncoding
- ダンプファイルのエンコーディングメソッドの詳細 |
---|
public void dump(SqlExecutionContext sqlExecutionContext, DatabaseDesc databaseDesc, java.io.File dumpDir)
Dumper
の記述:
Dumper
内の dump
sqlExecutionContext
- SQL実行コンテキストdatabaseDesc
- データベース記述dumpDir
- ダンプ先のディレクトリprotected boolean dumpTableWithSort(SqlExecutionContext sqlExecutionContext, TableDesc tableDesc, DumpFileWriter writer)
sqlExecutionContext
- SQL実行コンテキストtableDesc
- テーブル記述writer
- ライタ
true
protected void dumpTable(SqlExecutionContext sqlExecutionContext, TableDesc tableDesc, DumpFileWriter writer)
sqlExecutionContext
- SQL実行コンテキストtableDesc
- テーブル記述writer
- ライタprotected void dumpRows(java.sql.Statement statement, DumpFileWriter writer, java.lang.String sql) throws java.sql.SQLException
statement
- SQLの文writer
- ライタsql
- SQL
java.sql.SQLException
- SQLに関する例外が発生した場合protected java.lang.String buildSqlWithSort(TableDesc tableDesc)
tableDesc
- テーブル記述
protected java.lang.String buildSql(TableDesc tableDesc)
tableDesc
- テーブル記述
protected DumpFileWriter createDumpFileWriter(java.io.File dumpFile, TableDesc tableDesc)
dumpFile
- ダンプファイルtableDesc
- テーブル記述
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |