net.argius.stu.command
クラス Report
java.lang.Object
net.argius.stu.Command
net.argius.stu.command.Report
- すべての実装インタフェース:
- Comparator, EventListener, PropertyChangeListener
- public class Report
- extends Command
- implements Comparator
DBに関する情報を取得するコマンドです。
以下の機能をサポートしています。
- DB情報(製品名・製品バージョン・ドライバ名・ドライババージョン)を表示
- テーブル情報(列名・列のNULL属性・列のタイプとサイズ)を表示
- テーブルのプライマリキー情報(キーの順序・列名・プライマリキー名)を表示
- テーブルのインデックス情報(インデックス名・インデックスキー)を表示
クラス net.argius.stu.Command から継承したメソッド |
getCommand, getLogLevel, getMessage, getMessage, getMessage, getProperty, getTimeoutSeconds, initialize, invoke, isSelect, print, print, println, propertyChange, resolvePath, setTimeout, showResult, split, warning, writeLog, writeLog, writeLog |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Report
public Report()
execute
protected void execute(Connection conn,
String parameter)
throws IllegalArgumentException,
SQLException,
IOException
- REPORTコマンドを実行します。
- オーバーライド:
- クラス
Command
内の execute
- パラメータ:
conn
- コネクションparameter
- 入力文字列
- 例外:
IllegalArgumentException
- パラメータエラー
SQLException
- データベースアクセスエラー
IOException
- 入出力エラー
compare
public int compare(Object o1,
Object o2)
- 順序付けのために2つの文字列配列を比較します。
- 定義:
- インタフェース
Comparator
内の compare
- パラメータ:
o1
- 文字列配列1o2
- 文字列配列2
- 戻り値:
- 文字列配列1が文字列配列2より小さい場合は負の整数、
文字列配列1が文字列配列2より大きい場合は正の整数、
文字列配列1と文字列配列2が等しい場合は
0