Class V19Database
- java.lang.Object
- 
- All Implemented Interfaces:
- java.lang.AutoCloseable,- FbAttachment,- FbDatabase,- ExceptionListenable,- TransactionListener,- FbWireAttachment,- FbWireDatabase
 
 public class V19Database extends V18Database FbWireDatabaseimplementation for the version 19 wire protocol.- Since:
- 5.0.8
- Author:
- Mark Rotteveel
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface org.firebirdsql.gds.ng.wire.FbWireAttachmentFbWireAttachment.AcceptPacket
 
- 
 - 
Field Summary- 
Fields inherited from class org.firebirdsql.gds.ng.wire.AbstractFbWireDatabaseprotocolDescriptor, wireOperations
 - 
Fields inherited from class org.firebirdsql.gds.ng.AbstractFbDatabasedatabaseListenerDispatcher
 - 
Fields inherited from class org.firebirdsql.gds.ng.AbstractFbAttachmentconnection, exceptionListenerDispatcher
 
- 
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedV19Database(WireDatabaseConnection connection, ProtocolDescriptor descriptor)Creates a V19Database instance.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description FbBlobcreateBlobForInput(FbTransaction transaction, BlobParameterBuffer blobParameterBuffer, long blobId)Creates a blob for read access to an existing blob on the server.protected voidregisterInlineBlob(FbWireTransaction transaction, InlineBlob inlineBlob)- 
Methods inherited from class org.firebirdsql.gds.ng.wire.version13.V13DatabasegetTransactionIdBuffer
 - 
Methods inherited from class org.firebirdsql.gds.ng.wire.version12.V12DatabasecancelOperation, getFilenameEncoding
 - 
Methods inherited from class org.firebirdsql.gds.ng.wire.version11.V11DatabasereleaseObject
 - 
Methods inherited from class org.firebirdsql.gds.ng.wire.version10.V10DatabaseafterAttachActions, attach, attachOrCreate, authReceiveResponse, createDatabase, createStatement, doReleaseObjectPacket, dropDatabase, executeImmediate, getBlrCalculator, initAsynchronousChannel, internalDetach, processAttachOrCreateResponse, processReleaseObjectResponse, reconnectTransaction, sendAttachOrCreateToBuffer, startTransaction
 - 
Methods inherited from class org.firebirdsql.gds.ng.wire.AbstractFbWireDatabasecancelEvent, checkAttached, checkConnected, closeConnection, consumePackets, countEvents, createBlobForOutput, createEventHandle, enqueueDeferredAction, finalize, forceClose, getDatabaseInfo, getHandle, getInfo, getWireOperations, getXdrIn, getXdrOut, getXdrStreamAccess, isAttached, queueEvent, readGenericResponse, readResponse, readSqlResponse, setNetworkTimeout
 - 
Methods inherited from class org.firebirdsql.gds.ng.AbstractFbDatabaseaddDatabaseListener, addWeakDatabaseListener, close, createBlobParameterBuffer, createTransactionParameterBuffer, emptyRowDescriptor, getActiveTransactionCount, getConnectionDialect, getConnectionProperties, getDatabaseDialect, getDatabaseInfo, getDatabaseInformationProcessor, getDatabaseWarningCallback, getDescribeDatabaseInfoBlock, getOdsMajor, getOdsMinor, getParameterDescriptionInfoRequestItems, getStatementInfoRequestItems, removeDatabaseListener, setDatabaseDialect, setOdsMajor, setOdsMinor, transactionAdded, transactionStateChanged
 - 
Methods inherited from class org.firebirdsql.gds.ng.AbstractFbAttachmentaddExceptionListener, getDatatypeCoder, getEncoding, getEncodingFactory, getNetworkTimeout, getServerVersion, getServerVersionInformation, isLockedByCurrentThread, removeExceptionListener, safelyDetach, setAttached, setDetached, setServerVersion, withLock
 - 
Methods inherited from class java.lang.Objectclone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.firebirdsql.gds.ng.listeners.ExceptionListenableaddExceptionListener, removeExceptionListener
 - 
Methods inherited from interface org.firebirdsql.gds.ng.FbAttachmentclose, forceClose, getDatatypeCoder, getEncoding, getEncodingFactory, getNetworkTimeout, getServerVersion, isAttached, isLockedByCurrentThread, setNetworkTimeout, withLock
 - 
Methods inherited from interface org.firebirdsql.gds.ng.FbDatabaseaddDatabaseListener, addWeakDatabaseListener, cancelEvent, countEvents, createBlobForInput, createBlobForInput, createBlobForOutput, createBlobForOutput, createBlobForOutput, createBlobParameterBuffer, createEventHandle, createTransactionParameterBuffer, emptyRowDescriptor, getConnectionDialect, getConnectionProperties, getDatabaseDialect, getDatabaseInfo, getDatabaseInfo, getHandle, getOdsMajor, getOdsMinor, queueEvent, removeDatabaseListener
 - 
Methods inherited from interface org.firebirdsql.gds.ng.wire.FbWireAttachmentgetWireOperations, getXdrStreamAccess, readGenericResponse
 - 
Methods inherited from interface org.firebirdsql.gds.ng.wire.FbWireDatabaseconsumePackets, enqueueDeferredAction, getInfo, readResponse, readSqlResponse
 
- 
 
- 
- 
- 
Constructor Detail- 
V19Databaseprotected 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 Detail- 
registerInlineBlobprotected void registerInlineBlob(FbWireTransaction transaction, InlineBlob inlineBlob) 
 - 
createBlobForInputpublic FbBlob createBlobForInput(FbTransaction transaction, BlobParameterBuffer blobParameterBuffer, long blobId) throws java.sql.SQLException Description copied from interface:FbDatabaseCreates 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 transactionandblobId, and ifblobParameterBufferisnullor empty (ParameterBuffer.isEmpty()).- Specified by:
- createBlobForInputin interface- FbDatabase
- Overrides:
- createBlobForInputin class- AbstractFbWireDatabase
- Parameters:
- transaction- transaction associated with the blob
- blobParameterBuffer- blob parameter buffer
- blobId- id of the blob
- Returns:
- instance of FbBlob
- Throws:
- java.sql.SQLException- if the database is not attached or the transaction is not active
 
 
- 
 
-