|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface specificies the operations for reading and writing LOB
data. This interface supports both raw data as well as serialized object
data.
Supported API: false
Extendable: false
Method Summary | |
Object |
getBlob(ResultSet a_resultSet,
int a_index)
Gets the Blob object from the ResultSet. |
InputStream |
getLob(WTConnection a_connection,
Object a_blob)
Gets the data from the specified LOB as an InputStream. |
byte[] |
getLobAsByteArray(WTConnection a_connection,
Object a_blob)
Gets the Lob as a byte array. |
Object |
getLobAsObject(WTConnection a_connection,
Object a_blob)
Gets the Lob as an object. |
void |
setBlob(CallableStatement a_statement,
int a_index,
Object a_blob)
Sets the Blob object in the CallableStatement. |
long |
setLob(WTConnection a_connection,
LobLocator a_lobLocator,
InputStream a_inputStream)
Set the data in the InputStream to the specified LOB. |
void |
setLob(WTConnection a_connection,
LobLocator a_lobLocator,
InputStream a_inputStream,
long a_length)
Set the data in the InputStream to the specified LOB. |
void |
setObjectAsLob(WTConnection a_connection,
LobLocator a_lobLocator,
Object a_object)
Set the object as LOB. |
Method Detail |
public void setLob(WTConnection a_connection, LobLocator a_lobLocator, InputStream a_inputStream, long a_length) throws DatastoreException
a_connection
- Connection to the databasea_lobLocator
- specifies the Lob columna_inputStream
- Data stream for input to the loba_length
- Number of bytes to set
DatastoreException
public long setLob(WTConnection a_connection, LobLocator a_lobLocator, InputStream a_inputStream) throws DatastoreException
a_connection
- Connection to the databasea_lobLocator
- specifies the Lob columna_inputStream
- Data stream for input to the lob
DatastoreException
public void setObjectAsLob(WTConnection a_connection, LobLocator a_lobLocator, Object a_object) throws DatastoreException
a_connection
- Connection to the databasea_lobLocator
- specifies the Lob columna_object
- Object to set
DatastoreException
public InputStream getLob(WTConnection a_connection, Object a_blob) throws DatastoreException
a_connection
- Connection to the databasea_blob
- Blob reference to the data
DatastoreException
public byte[] getLobAsByteArray(WTConnection a_connection, Object a_blob) throws DatastoreException
a_connection
- Connection to the databasea_blob
- Blob reference to the data
DatastoreException
public Object getLobAsObject(WTConnection a_connection, Object a_blob) throws DatastoreException
a_connection
- Connection to the databasea_blob
- Blob reference to the data
DatastoreException
public void setBlob(CallableStatement a_statement, int a_index, Object a_blob) throws SQLException
a_statement
- instance to get Blob froma_index
- Index in result set to get Blob ata_blob
-
SQLException
public Object getBlob(ResultSet a_resultSet, int a_index) throws SQLException
a_resultSet
- instance to get Blob froma_index
- Index in result set to get Blob at
SQLException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |