Package com.alibaba.druid.support.spring
Class DruidLobHandler
- java.lang.Object
-
- org.springframework.jdbc.support.lob.AbstractLobHandler
-
- com.alibaba.druid.support.spring.DruidLobHandler
-
- All Implemented Interfaces:
org.springframework.jdbc.support.lob.LobHandler
public class DruidLobHandler extends org.springframework.jdbc.support.lob.AbstractLobHandler
-
-
Constructor Summary
Constructors Constructor Description DruidLobHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InputStreamgetBlobAsBinaryStream(ResultSet rs, int columnIndex)byte[]getBlobAsBytes(ResultSet rs, int columnIndex)InputStreamgetClobAsAsciiStream(ResultSet rs, int columnIndex)ReadergetClobAsCharacterStream(ResultSet rs, int columnIndex)StringgetClobAsString(ResultSet rs, int columnIndex)org.springframework.jdbc.support.lob.LobCreatorgetLobCreator()
-
-
-
Method Detail
-
getBlobAsBytes
public byte[] getBlobAsBytes(ResultSet rs, int columnIndex) throws SQLException
- Throws:
SQLException
-
getBlobAsBinaryStream
public InputStream getBlobAsBinaryStream(ResultSet rs, int columnIndex) throws SQLException
- Throws:
SQLException
-
getClobAsString
public String getClobAsString(ResultSet rs, int columnIndex) throws SQLException
- Throws:
SQLException
-
getClobAsAsciiStream
public InputStream getClobAsAsciiStream(ResultSet rs, int columnIndex) throws SQLException
- Throws:
SQLException
-
getClobAsCharacterStream
public Reader getClobAsCharacterStream(ResultSet rs, int columnIndex) throws SQLException
- Throws:
SQLException
-
getLobCreator
public org.springframework.jdbc.support.lob.LobCreator getLobCreator()
-
-