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:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]getBytes(int pos) byte[]getDate(int pos) getDouble(int pos) private LonggetEpoch(int pos) private LonggetFloat(int pos) getInt(int pos) getLong(int pos) getMap()private NumbergetNumber(int pos) private NumbergetObject(int position) Type-casting convenience method which obtains an object from the results positionally object obtained should have been created withCallableStatementMapper<T> TType-casting convenience method which obtains an object from the map positionally object obtained should have been created withCallableStatementMapperObtains an object from the map, the object obtained should have been created withCallableStatementMapper<T> TType-casting convenience method which obtains an object from the map, the object obtained should have been created withCallableStatementMappergetRowSet(int pos) getShort(int pos) getString(int pos) getTimestamp(int pos) getTimestamp(String name)
-
Field Details
-
ctx
-
map
-
-
Constructor Details
-
OutParameters
OutParameters(StatementContext ctx)
-
-
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
@CheckForNull public byte[] getBytes(int pos) -
getInt
-
getInt
-
getLong
-
getLong
-
getShort
-
getShort
-
getDate
-
getDate
-
getTimestamp
-
getTimestamp
-
getDouble
-
getDouble
-
getFloat
-
getFloat
-
getRowSet
-
getRowSet
-
getNumber
-
getNumber
-
getEpoch
-
getEpoch
-
getMap
-