public class V10OutputBlob extends AbstractFbWireOutputBlob implements FbWireBlob, DatabaseListener
FbWireBlob implementation for the version 10 wire protocol.AbstractFbWireBlob.BlobOpenOperationAbstractFbBlob.BlobStateFbBlob.SeekModeexceptionListenerDispatcherNO_BLOB_ID| Constructor and Description |
|---|
V10OutputBlob(FbWireDatabase database,
FbWireTransaction transaction,
BlobParameterBuffer blobParameterBuffer) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
consumePutSegmentResponses(int requestCount) |
void |
open()
Opens an existing input blob, or creates an output blob.
|
void |
put(byte[] b,
int off,
int len)
Writes content of
b starting at off for length bytes to the blob. |
get, getBlobId, getSegment, isOutput, processOpenResponse, seek, setBlobIdcancelImpl, closeImpl, getBlobInfo, getDatabase, getHandle, getXdrIn, getXdrOut, receiveOpenResponse, releaseBlob, releaseResources, sendOpen, setHandle, wrapDeferredResponseaddExceptionListener, cancel, checkBlobClosed, checkBlobOpen, 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, warningReceived, withLockclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcancel, close, get, get, getBlobId, getBlobInfo, getBlobInfo, getDatabase, getHandle, getMaximumSegmentSize, getSegment, isEof, isOpen, isOutput, length, putSegment, seekaddExceptionListener, removeExceptionListenerdetached, detaching, warningReceivedpublic V10OutputBlob(FbWireDatabase database, FbWireTransaction transaction, BlobParameterBuffer blobParameterBuffer) throws java.sql.SQLException
java.sql.SQLExceptionpublic void open()
throws java.sql.SQLException
FbBlobpublic void put(byte[] b,
int off,
int len)
throws java.sql.SQLException
FbBlobb starting at off for length bytes to the blob.
Implementations must write all bytes to the blob, using multiple round-trips if necessary.
If the implementation cannot perform writes without additional allocation, it should use at most
DatabaseConnectionProperties.getBlobBufferSize() as an internal buffer. If the implementation can
perform writes without additional allocation, it is recommended it performs reads using (at most)
FbBlob.getMaximumSegmentSize().
protected void consumePutSegmentResponses(int requestCount)
throws java.sql.SQLException
java.sql.SQLExceptionCopyright © 2001-2025 Jaybird (Firebird JDBC) team. All rights reserved.