Package org.springframework.r2dbc.core
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(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
Deprecated.Create a newParameterfromvalue.- Parameters:
 value- the parameter value- Returns:
 - the 
Parametervalue forvalue 
 - 
fromOrEmpty
Deprecated.- Parameters:
 value- the parameter value (can benull)type- the parameter type- Returns:
 - the 
Parametervalue forvalue 
 - 
empty
Deprecated.Create a new emptyParameterfortype.- Returns:
 - the empty 
Parametervalue fortype 
 - 
getValue
Deprecated.Return the column value (can benull).- See Also:
 
 - 
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
Deprecated. - 
hashCode
public int hashCode()Deprecated. - 
toString
Deprecated. 
 - 
 
io.r2dbc.spi.Parameterinstead.