public interface FirebirdBlob
extends java.sql.Blob
Modifier and Type | Interface and Description |
---|---|
static interface |
FirebirdBlob.BlobInputStream
Blob input stream.
|
static interface |
FirebirdBlob.BlobOutputStream
Blob output stream.
|
Modifier and Type | Method and Description |
---|---|
FirebirdBlob |
detach()
Detach this blob.
|
boolean |
isSegmented()
Check if blob is segmented.
|
java.io.OutputStream |
setBinaryStream(long position)
Retrieves a stream that can be used to write to the Blob value that this
object represents.
|
FirebirdBlob detach() throws java.sql.SQLException
Note, detached blob will not remember the stream position of this object. This means that you cannot start reading data from the blob, then detach it, and then continue reading. Reading from detached blob will begin at the blob start.
FirebirdBlob
that is not under result set
control.java.sql.SQLException
- if Blob cannot be detached.boolean isSegmented() throws java.sql.SQLException
FirebirdBlob.BlobInputStream.seek(int)
method.true
if this blob is segmented,
otherwise false
java.sql.SQLException
java.io.OutputStream setBinaryStream(long position) throws java.sql.SQLException
position
.
This method is directly copied from JDBC 3.0 classes to make it available in JDBC 2.0 environment.
setBinaryStream
in interface java.sql.Blob
position
- the position in the BLOB
value at which
to start writing; currently only position 0 is supported.java.io.OutputStream
object to which data can
be writtenjava.sql.SQLException
- if something went wrong.Copyright © 2001-2019 Jaybird (Firebird JDBC/JCA) team. All rights reserved.