public class BlobSource extends AbstractAxionBlob
Blob
wrapping a LobSource
.Constructor and Description |
---|
BlobSource(LobSource lob) |
Modifier and Type | Method and Description |
---|---|
java.io.InputStream |
getBinaryStream() |
byte[] |
getBytes(long pos,
int length) |
long |
length() |
java.io.OutputStream |
setBinaryStream(long pos) |
void |
setLobSource(LobSource lob) |
void |
truncate(long length) |
free, getBinaryStream, position, position, setBytes, setBytes
public BlobSource(LobSource lob)
public void setLobSource(LobSource lob)
public long length() throws java.sql.SQLException
length
in interface java.sql.Blob
length
in interface AxionBlob
length
in class AbstractAxionBlob
java.sql.SQLException
- indicating this method is not supported.public byte[] getBytes(long pos, int length) throws java.sql.SQLException
getBytes
in interface java.sql.Blob
getBytes
in interface AxionBlob
getBytes
in class AbstractAxionBlob
java.sql.SQLException
- indicating this method is not supported.public void truncate(long length) throws java.sql.SQLException
truncate
in interface java.sql.Blob
truncate
in interface AxionBlob
truncate
in class AbstractAxionBlob
java.sql.SQLException
- indicating this method is not supported.public java.io.InputStream getBinaryStream() throws java.sql.SQLException
getBinaryStream
in interface java.sql.Blob
getBinaryStream
in interface AxionBlob
getBinaryStream
in class AbstractAxionBlob
java.sql.SQLException
- indicating this method is not supported.public java.io.OutputStream setBinaryStream(long pos) throws java.sql.SQLException
setBinaryStream
in interface java.sql.Blob
setBinaryStream
in interface AxionBlob
setBinaryStream
in class AbstractAxionBlob
java.sql.SQLException
- indicating this method is not supported.