Known Direct Subclasses
|
Class Overview
Abstract base class for LobHandler implementations.
Implements all accessor methods for column names through a column lookup
and delegating to the corresponding accessor that takes a column index.
Summary
|
[Expand]
Inherited Methods |
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
From interface
org.springframework.jdbc.support.lob.LobHandler
|
abstract
InputStream
|
getBlobAsBinaryStream(ResultSet rs, int columnIndex)
Retrieve the given column as binary stream from the given ResultSet.
|
|
abstract
InputStream
|
getBlobAsBinaryStream(ResultSet rs, String columnName)
Retrieve the given column as binary stream from the given ResultSet.
|
|
abstract
byte[]
|
getBlobAsBytes(ResultSet rs, int columnIndex)
Retrieve the given column as bytes from the given ResultSet.
|
|
abstract
byte[]
|
getBlobAsBytes(ResultSet rs, String columnName)
Retrieve the given column as bytes from the given ResultSet.
|
|
abstract
InputStream
|
getClobAsAsciiStream(ResultSet rs, int columnIndex)
Retrieve the given column as ASCII stream from the given ResultSet.
|
|
abstract
InputStream
|
getClobAsAsciiStream(ResultSet rs, String columnName)
Retrieve the given column as ASCII stream from the given ResultSet.
|
|
abstract
Reader
|
getClobAsCharacterStream(ResultSet rs, String columnName)
Retrieve the given column as character stream from the given ResultSet.
|
|
abstract
Reader
|
getClobAsCharacterStream(ResultSet rs, int columnIndex)
Retrieve the given column as character stream from the given ResultSet.
|
|
abstract
String
|
getClobAsString(ResultSet rs, int columnIndex)
Retrieve the given column as String from the given ResultSet.
|
|
abstract
String
|
getClobAsString(ResultSet rs, String columnName)
Retrieve the given column as String from the given ResultSet.
|
|
abstract
LobCreator
|
getLobCreator()
|
|
Public Constructors
public
AbstractLobHandler
()
Public Methods
Retrieve the given column as binary stream from the given ResultSet.
Might simply invoke ResultSet.getBinaryStream or work with
ResultSet.getBlob, depending on the database and driver.
Parameters
| rs
| the ResultSet to retrieve the content from |
| columnName
| the column name to use |
Returns
- the content as binary stream, or
null in case of SQL NULL
public
byte[]
getBlobAsBytes
(ResultSet rs, String columnName)
Retrieve the given column as bytes from the given ResultSet.
Might simply invoke ResultSet.getBytes or work with
ResultSet.getBlob, depending on the database and driver.
Parameters
| rs
| the ResultSet to retrieve the content from |
| columnName
| the column name to use |
Returns
- the content as byte array, or
null in case of SQL NULL
Retrieve the given column as ASCII stream from the given ResultSet.
Might simply invoke ResultSet.getAsciiStream or work with
ResultSet.getClob, depending on the database and driver.
Parameters
| rs
| the ResultSet to retrieve the content from |
| columnName
| the column name to use |
Returns
- the content as ASCII stream, or
null in case of SQL NULL
public
Reader
getClobAsCharacterStream
(ResultSet rs, String columnName)
Retrieve the given column as character stream from the given ResultSet.
Might simply invoke ResultSet.getCharacterStream or work with
ResultSet.getClob, depending on the database and driver.
Parameters
| rs
| the ResultSet to retrieve the content from |
| columnName
| the column name to use |
Returns
- the content as character stream
Retrieve the given column as String from the given ResultSet.
Might simply invoke ResultSet.getString or work with
ResultSet.getClob, depending on the database and driver.
Parameters
| rs
| the ResultSet to retrieve the content from |
| columnName
| the column name to use |
Returns
- the content as String, or
null in case of SQL NULL