org.axiondb.types
Class BlobSource
java.lang.Object
org.axiondb.jdbc.AbstractAxionBlob
org.axiondb.types.BlobSource
- All Implemented Interfaces:
- 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 SQLException
- Specified by:
length
in interface Blob
- Specified by:
length
in interface AxionBlob
- Overrides:
length
in class AbstractAxionBlob
- Throws:
SQLException
- indicating this method is not supported.
getBytes
public byte[] getBytes(long pos,
int length)
throws SQLException
- Specified by:
getBytes
in interface Blob
- Specified by:
getBytes
in interface AxionBlob
- Overrides:
getBytes
in class AbstractAxionBlob
- Throws:
SQLException
- indicating this method is not supported.
truncate
public void truncate(long length)
throws SQLException
- Specified by:
truncate
in interface Blob
- Specified by:
truncate
in interface AxionBlob
- Overrides:
truncate
in class AbstractAxionBlob
- Throws:
SQLException
- indicating this method is not supported.
getBinaryStream
public InputStream getBinaryStream()
throws SQLException
- Specified by:
getBinaryStream
in interface Blob
- Specified by:
getBinaryStream
in interface AxionBlob
- Overrides:
getBinaryStream
in class AbstractAxionBlob
- Throws:
SQLException
- indicating this method is not supported.
setBinaryStream
public OutputStream setBinaryStream(long pos)
throws SQLException
- Specified by:
setBinaryStream
in interface Blob
- Specified by:
setBinaryStream
in interface AxionBlob
- Overrides:
setBinaryStream
in class AbstractAxionBlob
- Throws:
SQLException
- indicating this method is not supported.