public class V11OutputBlob extends V10OutputBlob
FbWireBlob
implementation for the version 11 wire protocol.AbstractFbWireBlob.BlobOpenOperation
AbstractFbBlob.BlobState
FbBlob.SeekMode
exceptionListenerDispatcher
NO_BLOB_ID
Constructor and Description |
---|
V11OutputBlob(FbWireDatabase database,
FbWireTransaction transaction,
BlobParameterBuffer blobParameterBuffer) |
Modifier and Type | Method and Description |
---|---|
protected void |
checkBlobOpen()
Checks if the blob is open.
|
void |
open()
Opens an existing input blob, or creates an output blob.
|
consumePutSegmentResponses, put
get, getBlobId, getSegment, isOutput, processOpenResponse, seek, setBlobId
cancelImpl, closeImpl, getBlobInfo, getDatabase, getHandle, getXdrIn, getXdrOut, receiveOpenResponse, releaseBlob, releaseResources, sendOpen, setHandle, wrapDeferredResponse
addExceptionListener, cancel, checkBlobClosed, checkDatabaseAttached, checkTransactionActive, clearDatabase, clearDeferredException, clearTransaction, close, createBlobLengthProcessor, detached, detaching, errorOccurred, get, get, getBlobInfo, getBlobParameterBuffer, getKnownBlobInfoItems, getMaximumSegmentSize, getState, getTransaction, isEndingTransaction, isEof, isOpen, length, putSegment, registerDeferredException, removeExceptionListener, resetEof, setEof, setState, throwAndClearDeferredException, transactionStateChanged, transferDeferredExceptionTo, validateBufferLength, warningReceived, withLock
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
cancel, close, get, get, getBlobId, getBlobInfo, getBlobInfo, getDatabase, getHandle, getMaximumSegmentSize, getSegment, isEof, isOpen, isOutput, length, putSegment, seek
addExceptionListener, removeExceptionListener
detached, detaching, warningReceived
public V11OutputBlob(FbWireDatabase database, FbWireTransaction transaction, BlobParameterBuffer blobParameterBuffer) throws java.sql.SQLException
java.sql.SQLException
public void open() throws java.sql.SQLException
FbBlob
open
in interface FbBlob
open
in class V10OutputBlob
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 occurredprotected void checkBlobOpen() throws java.sql.SQLException
AbstractFbBlob
NOTE: Subclasses may perform additional side effects, like queuing a server-side open for a deferred open blob.
checkBlobOpen
in class AbstractFbBlob
java.sql.SQLException
- when the blob is closed.Copyright © 2001-2025 Jaybird (Firebird JDBC) team. All rights reserved.