Interface TypedParameter
Special "type carrier" which avoids generic type erasure at runtime when
PreparedStatementBinder
binds parameters to PreparedStatement
.
Examples of where this is used:
Implementations should be threadsafe.- Since:
- 3.0.0
- Author:
- Mark Allen
-
Method Summary
Modifier and TypeMethodDescriptionGets the full type information for this parameter, including how it's parameterized.getValue()
Gets the value of this parameter.
-
Method Details
-
getExplicitType
Gets the full type information for this parameter, including how it's parameterized.- Returns:
- the full type information for this parameter
-
getValue
Gets the value of this parameter.- Returns:
- the value of this parameter, or
Optional.empty()
if none
-