类 BlobInputStreamTypeHandler
- 所有已实现的接口:
TypeHandler<InputStream>
- 从以下版本开始:
- 3.4.0
- 作者:
- Kazuki Shimizu
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明getNullableResult(CallableStatement cs, int columnIndex) Get anInputStreamthat corresponds to a specified column index fromCallableStatement.getNullableResult(ResultSet rs, int columnIndex) Get anInputStreamthat corresponds to a specified column index fromResultSet.getNullableResult(ResultSet rs, String columnName) Get anInputStreamthat corresponds to a specified column name fromResultSet.voidsetParameter(PreparedStatement ps, int i, Object parameter) Set anInputStreamintoPreparedStatement.从类继承的方法 cn.myafx.data.type.BaseTypeHandler
getResult, getResult, getResult从类继承的方法 cn.myafx.data.type.TypeReference
getRawType, toString
-
构造器详细资料
-
BlobInputStreamTypeHandler
public BlobInputStreamTypeHandler()
-
-
方法详细资料
-
setParameter
Set anInputStreamintoPreparedStatement.- 指定者:
setParameter在接口中TypeHandler<InputStream>- 指定者:
setParameter在类中BaseTypeHandler<InputStream>- 抛出:
SQLException- 另请参阅:
-
getNullableResult
Get anInputStreamthat corresponds to a specified column name fromResultSet.- 指定者:
getNullableResult在类中BaseTypeHandler<InputStream>- 参数:
rs- the rscolumnName- Column name, when configurationuseColumnLabelisfalse- 返回:
- the nullable result
- 抛出:
SQLException- 另请参阅:
-
getNullableResult
Get anInputStreamthat corresponds to a specified column index fromResultSet.- 指定者:
getNullableResult在类中BaseTypeHandler<InputStream>- 参数:
rs- the rscolumnIndex- Column ndex- 返回:
- the nullable result
- 抛出:
SQLException- 另请参阅:
-
getNullableResult
Get anInputStreamthat corresponds to a specified column index fromCallableStatement.- 指定者:
getNullableResult在类中BaseTypeHandler<InputStream>- 参数:
cs- the rscolumnIndex- Column ndex- 返回:
- the nullable result
- 抛出:
SQLException- 另请参阅:
-