public class EmptySqlParameterSource extends ObjectSE implements SqlParameterSource
SqlParameterSource
インターフェースの単純な空の実装。修飾子と型 | フィールドと説明 |
---|---|
static EmptySqlParameterSource | INSTANCE EmptySqlParameterSource の共有インスタンス。 |
TYPE_UNKNOWN
コンストラクターと説明 |
---|
EmptySqlParameterSource() |
修飾子と型 | メソッドと説明 |
---|---|
StringSE[] | getParameterNames() 可能な場合は、使用可能なすべてのパラメーター名を列挙します。 |
int | getSqlType(StringSE paramName) 指定された名前付きパラメーターの SQL 型を判別します。 |
StringSE | getTypeName(StringSE paramName) 指定された名前付きパラメーターの型名を決定します。 |
ObjectSE | getValue(StringSE paramName) リクエストされた名前付きパラメーターのパラメーター値を返します。 |
boolean | hasValue(StringSE paramName) 指定された名前付きパラメーターに値があるかどうかを判別します。 |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
public static final EmptySqlParameterSource INSTANCE
EmptySqlParameterSource
の共有インスタンス。public boolean hasValue(StringSE paramName)
SqlParameterSource
SqlParameterSource
の hasValue
paramName
- パラメーターの名前 @Nullable public ObjectSE getValue(StringSE paramName) throws IllegalArgumentExceptionSE
SqlParameterSource
SqlParameterSource
の getValue
paramName
- パラメーターの名前 IllegalArgumentExceptionSE
- リクエストされたパラメーターに値がない場合 public int getSqlType(StringSE paramName)
SqlParameterSource
SqlParameterSource
の getSqlType
paramName
- パラメーターの名前 TYPE_UNKNOWN
SqlParameterSource.TYPE_UNKNOWN
@Nullable public StringSE getTypeName(StringSE paramName)
SqlParameterSource
SqlParameterSource
の getTypeName
paramName
- パラメーターの名前 null
@Nullable public StringSE[] getParameterNames()
SqlParameterSource
これは、主に SimpleJdbcInsert
および SimpleJdbcCall
で使用するためのオプションの操作です。
SqlParameterSource
の getParameterNames
null
SqlParameterSourceUtils.extractCaseInsensitiveParameterNames(org.springframework.jdbc.core.namedparam.SqlParameterSource)