Class Parameter
java.lang.Object
org.springframework.r2dbc.core.Parameter
Deprecated.
A database value that can be set in a statement.
- Since:
- 5.3
- Author:
- Mark Paluch, Juergen Hoeller
-
Method Summary
Modifier and TypeMethodDescriptionstatic Parameter
Deprecated.Create a new emptyParameter
fortype
.boolean
Deprecated.static Parameter
Deprecated.Create a newParameter
fromvalue
.static Parameter
fromOrEmpty
(@Nullable Object value, Class<?> type) Deprecated.Class
<?> getType()
Deprecated.Return the column value type.getValue()
Deprecated.Return the column value (can benull
).int
hashCode()
Deprecated.boolean
hasValue()
Deprecated.Return whether thisParameter
has a value.boolean
isEmpty()
Deprecated.Return whether thisParameter
has an empty value.toString()
Deprecated.
-
Method Details
-
from
-
fromOrEmpty
-
empty
-
getValue
-
getType
Deprecated.Return the column value type. Must be also present if thevalue
isnull
. -
hasValue
public boolean hasValue()Deprecated.Return whether thisParameter
has a value.- Returns:
false
ifgetValue()
isnull
-
isEmpty
public boolean isEmpty()Deprecated.Return whether thisParameter
has an empty value.- Returns:
true
ifgetValue()
isnull
-
equals
-
hashCode
-
toString
-
io.r2dbc.spi.Parameter
instead.