クラス ResultSetSupportingSqlParameter

java.lang.ObjectSE
org.springframework.jdbc.core.SqlParameter
org.springframework.jdbc.core.ResultSetSupportingSqlParameter
既知の直属サブクラス
SqlOutParameterSqlReturnResultSet

public class ResultSetSupportingSqlParameter extends SqlParameter
SqlOutParameterSqlReturnResultSet など、ResultSet をサポートする SqlParameters の共通基本クラス。
導入:
1.0.2
作成者:
Juergen Hoeller
  • コンストラクターの詳細

    • ResultSetSupportingSqlParameter

      public ResultSetSupportingSqlParameter(StringSE name, int sqlType)
      新しい ResultSetSupportingSqlParameter を作成します。
      パラメーター:
      name - 入力および出力マップで使用されるパラメーターの名前
      sqlType - java.sql.Types に基づくパラメーター SQL 型
    • ResultSetSupportingSqlParameter

      public ResultSetSupportingSqlParameter(StringSE name, int sqlType, int scale)
      新しい ResultSetSupportingSqlParameter を作成します。
      パラメーター:
      name - 入力および出力マップで使用されるパラメーターの名前
      sqlType - java.sql.Types に基づくパラメーター SQL 型
      scale - 小数点以下の桁数 (DECIMAL および NUMERIC 型の場合)
    • ResultSetSupportingSqlParameter

      public ResultSetSupportingSqlParameter(StringSE name, int sqlType, @Nullable StringSE typeName)
      新しい ResultSetSupportingSqlParameter を作成します。
      パラメーター:
      name - 入力および出力マップで使用されるパラメーターの名前
      sqlType - java.sql.Types に基づくパラメーター SQL 型
      typeName - パラメーターの型名 (オプション)
    • ResultSetSupportingSqlParameter

      public ResultSetSupportingSqlParameter(StringSE name, int sqlType, ResultSetExtractor<?> rse)
      新しい ResultSetSupportingSqlParameter を作成します。
      パラメーター:
      name - 入力および出力マップで使用されるパラメーターの名前
      sqlType - java.sql.Types に基づくパラメーター SQL 型
      rse - ResultSetSE の解析に使用する ResultSetExtractor
    • ResultSetSupportingSqlParameter

      public ResultSetSupportingSqlParameter(StringSE name, int sqlType, RowCallbackHandler rch)
      新しい ResultSetSupportingSqlParameter を作成します。
      パラメーター:
      name - 入力および出力マップで使用されるパラメーターの名前
      sqlType - java.sql.Types に基づくパラメーター SQL 型
      rch - ResultSetSE の解析に使用する RowCallbackHandler
    • ResultSetSupportingSqlParameter

      public ResultSetSupportingSqlParameter(StringSE name, int sqlType, RowMapper<?> rm)
      新しい ResultSetSupportingSqlParameter を作成します。
      パラメーター:
      name - 入力および出力マップで使用されるパラメーターの名前
      sqlType - java.sql.Types に基づくパラメーター SQL 型
      rm - ResultSetSE の解析に使用する RowMapper
  • メソッドの詳細

    • isResultSetSupported

      public boolean isResultSetSupported()
      このパラメーターは ResultSet をサポートしますか、つまり、ResultSetExtractor、RowCallbackHandler、RowMapper を保持しますか?
    • getResultSetExtractor

      @Nullable public ResultSetExtractor<?> getResultSetExtractor()
      このパラメーターが保持する ResultSetExtractor があれば、それを返します。
    • getRowCallbackHandler

      @Nullable public RowCallbackHandler getRowCallbackHandler()
      このパラメーターが保持する RowCallbackHandler があれば、それを返します。
    • getRowMapper

      @Nullable public RowMapper<?> getRowMapper()
      このパラメーターが保持する RowMapper があれば、それを返します。
    • isInputValueProvided

      public boolean isInputValueProvided()
      この実装は、常に false を返します。
      オーバーライド:
      クラス SqlParameterisInputValueProvided