org.axiondb.jdbc
Interface AxionBlob
- All Superinterfaces:
- Blob
- All Known Implementing Classes:
- AbstractAxionBlob, BlobSource, ByteArrayBlob
public interface AxionBlob
- extends Blob
The JDBC Blob
interface, including the
JDBC 2 writing methods.
- Version:
- $Revision: 1.4 $ $Date: 2002/12/16 23:34:55 $
getBinaryStream
InputStream getBinaryStream()
throws SQLException
- Specified by:
getBinaryStream
in interface Blob
- Throws:
SQLException
getBytes
byte[] getBytes(long pos,
int length)
throws SQLException
- Specified by:
getBytes
in interface Blob
- Throws:
SQLException
length
long length()
throws SQLException
- Specified by:
length
in interface Blob
- Throws:
SQLException
position
long position(Blob pattern,
long start)
throws SQLException
- Specified by:
position
in interface Blob
- Throws:
SQLException
position
long position(byte[] pattern,
long start)
throws SQLException
- Specified by:
position
in interface Blob
- Throws:
SQLException
setBinaryStream
OutputStream setBinaryStream(long pos)
throws SQLException
- Specified by:
setBinaryStream
in interface Blob
- Throws:
SQLException
setBytes
int setBytes(long pos,
byte[] bytes)
throws SQLException
- Specified by:
setBytes
in interface Blob
- Throws:
SQLException
setBytes
int setBytes(long pos,
byte[] bytes,
int offset,
int len)
throws SQLException
- Specified by:
setBytes
in interface Blob
- Throws:
SQLException
truncate
void truncate(long len)
throws SQLException
- Specified by:
truncate
in interface Blob
- Throws:
SQLException