クラス SqlQuery2FileCommand

すべての実装されたインタフェース:
Runnable

public class SqlQuery2FileCommand extends AbstractDataSourceCommand
クエリを実行して結果を標準出力に出力します。
  • コンストラクタの詳細

    • SqlQuery2FileCommand

      public SqlQuery2FileCommand()
  • メソッドの詳細

    • 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 IOException, Exception
      例外:
      IOException
      Exception
    • getOutputFile

      public File getOutputFile()
    • setOutputFile

      public void setOutputFile(File outputFile)
    • getOutputFileCharset

      public String getOutputFileCharset()
    • setOutputFileCharset

      public void setOutputFileCharset(String outputFileCharset)
    • getHeaderFunction

      public com.sqlapp.data.schemas.function.ColumnFunction<String> getHeaderFunction()
    • setHeaderFunction

      public void setHeaderFunction(com.sqlapp.data.schemas.function.ColumnFunction<String> headerFunction)
    • getValueFunction

      public com.sqlapp.data.schemas.function.ColumnValueFunction<Object,String> getValueFunction()
    • setValueFunction

      public void setValueFunction(com.sqlapp.data.schemas.function.ColumnValueFunction<Object,String> valueFunction)
    • getRowValueConverter

      public com.sqlapp.data.schemas.function.RowValueConverter getRowValueConverter()
    • setRowValueConverter

      public void setRowValueConverter(com.sqlapp.data.schemas.function.RowValueConverter rowValueConverter)
    • doRun

      protected void doRun()
      定義:
      doRun クラス内 AbstractCommand
    • getSql

      public String getSql()
      戻り値:
      the sql
    • setSql

      public void setSql(String sql)
      パラメータ:
      sql - the sql to set
    • getOutputFormatType

      public OutputFormatType getOutputFormatType()
      戻り値:
      the outputFormatType
    • setOutputFormatType

      public void setOutputFormatType(OutputFormatType outputFormatType)
      パラメータ:
      outputFormatType - the outputFormatType to set