public abstract class AbstractFbWireBlob extends AbstractFbBlob implements FbWireBlob
FbBlob.SeekModeexceptionListenerDispatcherNO_BLOB_ID| Modifier | Constructor and Description |
|---|---|
protected |
AbstractFbWireBlob(FbWireDatabase database,
FbWireTransaction transaction,
BlobParameterBuffer blobParameterBuffer) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
cancelImpl()
Internal implementation of
AbstractFbBlob.cancel(). |
protected void |
closeImpl()
Internal implementation of
AbstractFbBlob.close(). |
byte[] |
getBlobInfo(byte[] requestItems,
int bufferLength)
Request blob info.
|
FbWireDatabase |
getDatabase() |
int |
getHandle() |
protected void |
releaseBlob(int releaseOperation)
Release this blob with the specified operation.
|
protected void |
releaseResources()
Release Java resources held.
|
protected void |
setHandle(int blobHandle) |
addExceptionListener, cancel, checkBlobClosed, checkBlobOpen, checkDatabaseAttached, checkTransactionActive, clearDatabase, clearTransaction, close, createBlobLengthProcessor, detached, detaching, getBlobInfo, getBlobParameterBuffer, getMaximumSegmentSize, getTransaction, isEndingTransaction, isEof, isOpen, length, removeExceptionListener, resetEof, setEof, setOpen, transactionStateChanged, warningReceived, withLockclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcancel, close, getBlobId, getBlobInfo, getMaximumSegmentSize, getSegment, isEof, isOpen, isOutput, length, open, putSegment, seekaddExceptionListener, removeExceptionListenerprotected AbstractFbWireBlob(FbWireDatabase database, FbWireTransaction transaction, BlobParameterBuffer blobParameterBuffer)
public FbWireDatabase getDatabase()
getDatabase in interface FbBlobgetDatabase in class AbstractFbBlobpublic final int getHandle()
protected final void setHandle(int blobHandle)
blobHandle - The Firebird blob handle identifierprotected void releaseBlob(int releaseOperation)
throws java.sql.SQLException
Implementations should only do the operation and not perform any further clean up or checks on attached database and active transaction, as those checks and clean up should be done by the caller.
releaseOperation - Either WireProtocolConstants.op_close_blob or WireProtocolConstants.op_cancel_blobjava.sql.SQLException - For database communication errors.protected void closeImpl()
throws java.sql.SQLException
AbstractFbBlobAbstractFbBlob.close(). The implementation does not need
to check for attached database and active transaction, nor does it need to mark this blob as closed.closeImpl in class AbstractFbBlobjava.sql.SQLExceptionprotected void cancelImpl()
throws java.sql.SQLException
AbstractFbBlobAbstractFbBlob.cancel(). The implementation does not need
to check for attached database and active transaction, nor does it need to mark this blob as closed.cancelImpl in class AbstractFbBlobjava.sql.SQLExceptionprotected void releaseResources()
AbstractFbBlobreleaseResources in class AbstractFbBlobpublic byte[] getBlobInfo(byte[] requestItems,
int bufferLength)
throws java.sql.SQLException
FbBlobgetBlobInfo in interface FbBlobrequestItems - Array of info items to requestbufferLength - Response buffer length to usejava.sql.SQLExceptionCopyright © 2001-2024 Jaybird (Firebird JDBC) team. All rights reserved.