Top Description Methods
org.apache.derby.iapi.jdbc

public Interface EngineLOB

Known Direct Implementers
org.apache.derby.impl.jdbc.EmbedBlob, org.apache.derby.impl.jdbc.EmbedClob
Imports
java.sql.SQLException

Additional methods the embedded engine exposes on all of its large object (LOB) implementations.

An internal API only, mainly for the network server.

Implementation Note

If a new method is needed, that only applies to one specific large object type (for instance a Blob), one should consider creating a new interface that extends from this one.

Method Summary

Modifier and TypeMethod and Description
public void
free()

Frees all resources assoicated with this LOB.

public int

Returns:

Locator key for this LOB
getLocator
()

Returns LOB locator key.

Method Detail

freeback to summary
public void free() throws SQLException

Frees all resources assoicated with this LOB.

Exceptions
SQLException:
if an error occurs during cleanup
getLocatorback to summary
public int getLocator()

Returns LOB locator key.

The key can be used with org.apache.derby.impl.jdbc.EmbedConnection#getLOBMapping to retrieve this LOB at a later time.

Returns:int

Locator key for this LOB