public class ResultSetSupportingSqlParameter extends SqlParameter
SqlOutParameter
や SqlReturnResultSet
など、ResultSet をサポートする SqlParameters の共通基本クラス。コンストラクターと説明 |
---|
ResultSetSupportingSqlParameter(StringSE name, int sqlType) 新しい ResultSetSupportingSqlParameter を作成します。 |
ResultSetSupportingSqlParameter(StringSE name, int sqlType, int scale) 新しい ResultSetSupportingSqlParameter を作成します。 |
ResultSetSupportingSqlParameter(StringSE name, int sqlType, ResultSetExtractor<?> rse) 新しい ResultSetSupportingSqlParameter を作成します。 |
ResultSetSupportingSqlParameter(StringSE name, int sqlType, RowCallbackHandler rch) 新しい ResultSetSupportingSqlParameter を作成します。 |
ResultSetSupportingSqlParameter(StringSE name, int sqlType, RowMapper<?> rm) 新しい ResultSetSupportingSqlParameter を作成します。 |
ResultSetSupportingSqlParameter(StringSE name, int sqlType, StringSE typeName) 新しい ResultSetSupportingSqlParameter を作成します。 |
修飾子と型 | メソッドと説明 |
---|---|
ResultSetExtractor<?> | getResultSetExtractor() このパラメーターが保持する ResultSetExtractor があれば、それを返します。 |
RowCallbackHandler | getRowCallbackHandler() このパラメーターが保持する RowCallbackHandler があれば、それを返します。 |
RowMapper<?> | getRowMapper() このパラメーターが保持する RowMapper があれば、それを返します。 |
boolean | isInputValueProvided() この実装は、常に false を返します。 |
boolean | isResultSetSupported() このパラメーターは ResultSet をサポートしますか? |
getName, getScale, getSqlType, getTypeName, isResultsParameter, sqlTypesToAnonymousParameterList
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
public ResultSetSupportingSqlParameter(StringSE name, int sqlType)
name
- 入力および出力マップで使用されるパラメーターの名前 sqlType
- java.sql.Types
に基づくパラメーター SQL 型 public ResultSetSupportingSqlParameter(StringSE name, int sqlType, int scale)
name
- 入力および出力マップで使用されるパラメーターの名前 sqlType
- java.sql.Types
に基づくパラメーター SQL 型 scale
- 小数点以下の桁数 (DECIMAL および NUMERIC 型の場合)public ResultSetSupportingSqlParameter(StringSE name, int sqlType, @Nullable StringSE typeName)
name
- 入力および出力マップで使用されるパラメーターの名前 sqlType
- java.sql.Types
に基づくパラメーター SQL 型 typeName
- パラメーターの型名 (オプション)public ResultSetSupportingSqlParameter(StringSE name, int sqlType, ResultSetExtractor<?> rse)
name
- 入力および出力マップで使用されるパラメーターの名前 sqlType
- java.sql.Types
に基づくパラメーター SQL 型 rse
- ResultSet
SE の解析に使用する ResultSetExtractor
public ResultSetSupportingSqlParameter(StringSE name, int sqlType, RowCallbackHandler rch)
name
- 入力および出力マップで使用されるパラメーターの名前 sqlType
- java.sql.Types
に基づくパラメーター SQL 型 rch
- ResultSet
SE の解析に使用する RowCallbackHandler
public ResultSetSupportingSqlParameter(StringSE name, int sqlType, RowMapper<?> rm)
name
- 入力および出力マップで使用されるパラメーターの名前 sqlType
- java.sql.Types
に基づくパラメーター SQL 型 rm
- ResultSet
SE の解析に使用する RowMapper
public boolean isResultSetSupported()
@Nullable public ResultSetExtractor<?> getResultSetExtractor()
@Nullable public RowCallbackHandler getRowCallbackHandler()
public boolean isInputValueProvided()
false
を返します。SqlParameter
の isInputValueProvided