org.axiondb.types
Class BlobSource
java.lang.Object
org.axiondb.jdbc.AbstractAxionBlob
org.axiondb.types.BlobSource
- All Implemented Interfaces:
- java.sql.Blob, AxionBlob
public class BlobSource
- extends AbstractAxionBlob
A Blob wrapping a LobSource.
- Version:
- $Revision: 1.4 $ $Date: 2003/05/14 15:38:12 $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BlobSource
public BlobSource(LobSource lob)
setLobSource
public void setLobSource(LobSource lob)
length
public long length()
throws java.sql.SQLException
- Specified by:
length in interface java.sql.Blob- Specified by:
length in interface AxionBlob- Overrides:
length in class AbstractAxionBlob
- Throws:
java.sql.SQLException - indicating this method is not supported.
getBytes
public byte[] getBytes(long pos,
int length)
throws java.sql.SQLException
- Specified by:
getBytes in interface java.sql.Blob- Specified by:
getBytes in interface AxionBlob- Overrides:
getBytes in class AbstractAxionBlob
- Throws:
java.sql.SQLException - indicating this method is not supported.
truncate
public void truncate(long length)
throws java.sql.SQLException
- Specified by:
truncate in interface java.sql.Blob- Specified by:
truncate in interface AxionBlob- Overrides:
truncate in class AbstractAxionBlob
- Throws:
java.sql.SQLException - indicating this method is not supported.
getBinaryStream
public java.io.InputStream getBinaryStream()
throws java.sql.SQLException
- Specified by:
getBinaryStream in interface java.sql.Blob- Specified by:
getBinaryStream in interface AxionBlob- Overrides:
getBinaryStream in class AbstractAxionBlob
- Throws:
java.sql.SQLException - indicating this method is not supported.
setBinaryStream
public java.io.OutputStream setBinaryStream(long pos)
throws java.sql.SQLException
- Specified by:
setBinaryStream in interface java.sql.Blob- Specified by:
setBinaryStream in interface AxionBlob- Overrides:
setBinaryStream in class AbstractAxionBlob
- Throws:
java.sql.SQLException - indicating this method is not supported.