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

    Modifier and Type
    Method
    Description
    void
    Frees all resources assoicated with this LOB.
    int
    Returns LOB locator key.
  • Method Details

    • 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 SQLException
      Frees all resources assoicated with this LOB.
      Throws:
      SQLException - if an error occurs during cleanup