クラス SqlQueryCommand
java.lang.Object
com.sqlapp.data.db.command.AbstractCommand
com.sqlapp.data.db.command.AbstractDataSourceCommand
com.sqlapp.data.db.command.SqlQueryCommand
- すべての実装されたインタフェース:
ConsoleOutputLevelProperty,ConvertersProperty,DataSourceProperty,OutputFormatTypeProperty,SqlProperty,Runnable
クエリを実行して結果を標準出力に出力します。
-
フィールドの概要
クラスから継承されたフィールド com.sqlapp.data.db.command.AbstractCommand
logger -
コンストラクタの概要
コンストラクタ -
メソッドの概要
修飾子とタイプメソッド説明protected voiddoRun()protected voidoutputTableData(com.sqlapp.data.db.dialect.Dialect dialect, com.sqlapp.data.schemas.Table table) protected voidoutputTableData(com.sqlapp.data.db.dialect.Dialect dialect, com.sqlapp.data.schemas.Table table, ResultSet resultSet) クラスから継承されたメソッド com.sqlapp.data.db.command.AbstractDataSourceCommand
commit, createOutputTextBuilder, execute, getCurrentCatalogName, getCurrentSchemaName, getDataSource, getDialect, isCloseDataSource, newConverters, rollback, setCloseDataSource, setCommitHandler, setDataSource, setLastCommitHandler, setReleaseConnectionAndCloseDataSourceHandler, setReleaseConnectionHandler, setRollbackHandlerクラスから継承されたメソッド com.sqlapp.data.db.command.AbstractCommand
debug, debug, error, error, execute, getErr, getExceptionHandler, info, info, initialize, initializeContext, runクラスから継承されたメソッド java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitインタフェースから継承されたメソッド com.sqlapp.data.db.command.properties.ConsoleOutputLevelProperty
getConsoleOutputLevel, setConsoleOutputLevel, setConsoleOutputLevelインタフェースから継承されたメソッド com.sqlapp.data.db.command.properties.ConvertersProperty
getConverters, setConvertersインタフェースから継承されたメソッド com.sqlapp.data.db.command.properties.OutputFormatTypeProperty
getOutputFormatType, setOutputFormatType, setOutputFormatTypeインタフェースから継承されたメソッド com.sqlapp.data.db.command.properties.SqlProperty
getSql, setSql
-
コンストラクタの詳細
-
SqlQueryCommand
public SqlQueryCommand()
-
-
メソッドの詳細
-
outputTableData
protected void outputTableData(com.sqlapp.data.db.dialect.Dialect dialect, com.sqlapp.data.schemas.Table table) -
outputTableData
protected void outputTableData(com.sqlapp.data.db.dialect.Dialect dialect, com.sqlapp.data.schemas.Table table, ResultSet resultSet) throws SQLException - 例外:
SQLException
-
doRun
protected void doRun()- 定義:
doRunクラス内AbstractCommand
-