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 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