Package org.jdbi.v3.core.statement
Class OutParameters
java.lang.Object
org.jdbi.v3.core.statement.OutParameters
Represents output from a Call (CallableStatement).
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
getBytes
(int pos) byte[]
getDate
(int pos) getDouble
(int pos) getFloat
(int pos) getInt
(int pos) getLong
(int pos) getObject
(int position) Type-casting convenience method which obtains an object from the results positionally object obtained should have been created withCallableStatementMapper
<T> T
Type-casting convenience method which obtains an object from the map positionally object obtained should have been created withCallableStatementMapper
Obtains an object from the map, the object obtained should have been created withCallableStatementMapper
<T> T
Type-casting convenience method which obtains an object from the map, the object obtained should have been created withCallableStatementMapper
getRowSet
(int pos) getShort
(int pos) getString
(int pos) getTimestamp
(int pos) getTimestamp
(String name)
-
Method Details
-
getObject
Type-casting convenience method which obtains an object from the map, the object obtained should have been created withCallableStatementMapper
- Type Parameters:
T
- the output parameter type- Parameters:
name
- The out parameter nametype
- The java type to obtain- Returns:
- the output of name as type T
-
getObject
Obtains an object from the map, the object obtained should have been created withCallableStatementMapper
- Parameters:
name
- The out parameter name- Returns:
- the output of name as type T
-
getObject
Type-casting convenience method which obtains an object from the results positionally object obtained should have been created withCallableStatementMapper
- Parameters:
position
- The out parameter name- Returns:
- the output of name as type T
-
getObject
Type-casting convenience method which obtains an object from the map positionally object obtained should have been created withCallableStatementMapper
- Type Parameters:
T
- the output parameter type- Parameters:
pos
- The out parameter positiontype
- The java type to obtain- Returns:
- the output of name as type T
-
getString
-
getString
-
getBytes
-
getBytes
@Nullable public byte[] getBytes(int pos) -
getInt
-
getInt
-
getLong
-
getLong
-
getShort
-
getShort
-
getDate
-
getDate
-
getTimestamp
-
getTimestamp
-
getDouble
-
getDouble
-
getFloat
-
getFloat
-
getRowSet
-
getRowSet
-