All Implemented Interfaces:
AutoCloseable, FbAttachment, FbDatabase, ExceptionListenable, TransactionListener, FbWireAttachment, FbWireDatabase

public class V19Database extends V18Database
FbWireDatabase implementation for the version 19 wire protocol.
Since:
6.0.2
Author:
Mark Rotteveel
  • Constructor Details

    • V19Database

      protected V19Database(WireDatabaseConnection connection, ProtocolDescriptor descriptor)
      Creates a V19Database instance.
      Parameters:
      connection - a WireConnection with an established connection to the server.
      descriptor - the ProtocolDescriptor that created this connection (this is used for creating further dependent objects).
  • Method Details

    • registerInlineBlob

      protected void registerInlineBlob(FbWireTransaction transaction, InlineBlob inlineBlob)
    • createBlobForInput

      public FbBlob createBlobForInput(FbTransaction transaction, BlobParameterBuffer blobParameterBuffer, long blobId) throws SQLException
      Description copied from interface: FbDatabase
      Creates a blob for read access to an existing blob on the server.

      The blob is initially closed.

      If the server supports inline blobs, a locally cached blob may be returned if an inline blob was received for transaction and blobId, and if blobParameterBuffer is null or empty (ParameterBuffer.isEmpty()).

      Specified by:
      createBlobForInput in interface FbDatabase
      Overrides:
      createBlobForInput in class AbstractFbWireDatabase
      Parameters:
      transaction - transaction associated with the blob
      blobParameterBuffer - blob parameter buffer
      blobId - id of the blob
      Returns:
      instance of FbBlob
      Throws:
      SQLException - if the database is not attached or the transaction is not active