public class V11InputBlob extends V10InputBlob
FbWireBlob implementation for the version 11 wire protocol.AbstractFbWireBlob.BlobOpenOperationAbstractFbBlob.BlobStateFbBlob.SeekModeexceptionListenerDispatcherNO_BLOB_ID| Constructor and Description |
|---|
V11InputBlob(FbWireDatabase database,
FbWireTransaction transaction,
BlobParameterBuffer blobParameterBuffer,
long blobId) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkBlobOpen()
Checks if the blob is open.
|
byte[] |
getBlobInfo(byte[] requestItems,
int bufferLength)
Request blob info.
|
void |
open()
Opens an existing input blob, or creates an output blob.
|
get, getSegment, seek, sendGetSegmentgetBlobId, isOutput, put, putSegmentcancelImpl, closeImpl, getDatabase, getHandle, getXdrIn, getXdrOut, processOpenResponse, receiveOpenResponse, releaseBlob, releaseResources, sendOpen, setHandle, wrapDeferredResponseaddExceptionListener, cancel, checkBlobClosed, checkDatabaseAttached, checkTransactionActive, clearDatabase, clearDeferredException, clearTransaction, close, createBlobLengthProcessor, detached, detaching, errorOccurred, get, get, getBlobInfo, getBlobParameterBuffer, getKnownBlobInfoItems, getMaximumSegmentSize, getState, getTransaction, isEndingTransaction, isEof, isOpen, length, registerDeferredException, removeExceptionListener, resetEof, setEof, setState, throwAndClearDeferredException, transactionStateChanged, transferDeferredExceptionTo, warningReceived, withLockclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcancel, close, get, get, getBlobId, getBlobInfo, getDatabase, getHandle, getMaximumSegmentSize, isEof, isOpen, isOutput, length, put, putSegmentaddExceptionListener, removeExceptionListenerdetached, detaching, warningReceivedpublic V11InputBlob(FbWireDatabase database, FbWireTransaction transaction, BlobParameterBuffer blobParameterBuffer, long blobId) throws java.sql.SQLException
java.sql.SQLExceptionpublic void open()
throws java.sql.SQLException
FbBlobopen in interface FbBlobopen in class V10InputBlobjava.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
AbstractFbBlobNOTE: Subclasses may perform additional side effects, like queuing a server-side open for a deferred open blob.
checkBlobOpen in class AbstractFbBlobjava.sql.SQLException - when the blob is closed.public byte[] getBlobInfo(byte[] requestItems,
int bufferLength)
throws java.sql.SQLException
FbBlobgetBlobInfo in interface FbBlobgetBlobInfo in class AbstractFbWireBlobrequestItems - Array of info items to requestbufferLength - Response buffer length to usejava.sql.SQLExceptionCopyright © 2001-2025 Jaybird (Firebird JDBC) team. All rights reserved.