Class V11InputBlob

    • Method Detail

      • open

        public void open()
                  throws java.sql.SQLException
        Description copied from interface: FbBlob
        Opens an existing input blob, or creates an output blob.
        Specified by:
        open in interface FbBlob
        Overrides:
        open in class V10InputBlob
        Throws:
        java.sql.SQLException - If the blob is already open, this is a (closed) output blob and it already has a blobId, the transaction is not active, or a database connection error occurred
      • checkBlobOpen

        protected void checkBlobOpen()
                              throws java.sql.SQLException
        Description copied from class: AbstractFbBlob
        Checks if the blob is open.

        NOTE: Subclasses may perform additional side effects, like queuing a server-side open for a deferred open blob.

        Overrides:
        checkBlobOpen in class AbstractFbBlob
        Throws:
        java.sql.SQLException - when the blob is closed.
      • getBlobInfo

        public byte[] getBlobInfo​(byte[] requestItems,
                                  int bufferLength)
                           throws java.sql.SQLException
        Description copied from interface: FbBlob
        Request blob info.
        Specified by:
        getBlobInfo in interface FbBlob
        Overrides:
        getBlobInfo in class AbstractFbWireBlob
        Parameters:
        requestItems - Array of info items to request
        bufferLength - Response buffer length to use
        Returns:
        Response buffer
        Throws:
        java.sql.SQLException