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 SummaryModifier 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
- 
getTypeDeprecated.Return the column value type. Must be also present if thevalueisnull.
- 
hasValuepublic boolean hasValue()Deprecated.Return whether thisParameterhas a value.- Returns:
- falseif- getValue()is- null
 
- 
isEmptypublic boolean isEmpty()Deprecated.Return whether thisParameterhas an empty value.- Returns:
- trueif- getValue()is- null
 
- 
equals
- 
hashCode
- 
toString
 
- 
io.r2dbc.spi.Parameterinstead.