org.apache.derby.iapi.jdbc
Interface EngineLOB

All Known Implementing Classes:
EmbedBlob, EmbedClob

public interface EngineLOB

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
 void free()
          Frees all resources assoicated with this LOB.
 int getLocator()
          Returns LOB locator key.
 

Method Detail

getLocator

int getLocator()
Returns LOB locator key.

The key can be used with EmbedConnection.getLOBMapping(int) to retrieve this LOB at a later time.

Returns:
Locator key for this LOB

free

void free()
          throws java.sql.SQLException
Frees all resources assoicated with this LOB.

Throws:
java.sql.SQLException - if an error occurs during cleanup

Built on Thu 2010-12-23 20:49:13+0000, from revision ???

Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.