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 ParameterDeprecated.Create a new emptyParameterfortype.booleanDeprecated.static ParameterDeprecated.Create a newParameterfromvalue.static ParameterfromOrEmpty(@Nullable Object value, Class<?> type) Deprecated.Class<?> getType()Deprecated.Return the column value type.getValue()Deprecated.Return the column value (can benull).inthashCode()Deprecated.booleanhasValue()Deprecated.Return whether thisParameterhas a value.booleanisEmpty()Deprecated.Return whether thisParameterhas an empty value.toString()Deprecated.
-
Method Details
-
from
-
fromOrEmpty
-
empty
-
getValue
-
getType
Deprecated.Return the column value type. Must be also present if thevalueisnull. -
hasValue
public boolean hasValue()Deprecated.Return whether thisParameterhas a value.- Returns:
falseifgetValue()isnull
-
isEmpty
public boolean isEmpty()Deprecated.Return whether thisParameterhas an empty value.- Returns:
trueifgetValue()isnull
-
equals
-
hashCode
-
toString
-
io.r2dbc.spi.Parameterinstead.