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, setBytespublic BlobSource(LobSource lob)
public void setLobSource(LobSource lob)
public long length()
throws java.sql.SQLException
length in interface java.sql.Bloblength in interface AxionBloblength in class AbstractAxionBlobjava.sql.SQLException - indicating this method is not supported.public byte[] getBytes(long pos,
int length)
throws java.sql.SQLException
getBytes in interface java.sql.BlobgetBytes in interface AxionBlobgetBytes in class AbstractAxionBlobjava.sql.SQLException - indicating this method is not supported.public void truncate(long length)
throws java.sql.SQLException
truncate in interface java.sql.Blobtruncate in interface AxionBlobtruncate in class AbstractAxionBlobjava.sql.SQLException - indicating this method is not supported.public java.io.InputStream getBinaryStream()
throws java.sql.SQLException
getBinaryStream in interface java.sql.BlobgetBinaryStream in interface AxionBlobgetBinaryStream in class AbstractAxionBlobjava.sql.SQLException - indicating this method is not supported.public java.io.OutputStream setBinaryStream(long pos)
throws java.sql.SQLException
setBinaryStream in interface java.sql.BlobsetBinaryStream in interface AxionBlobsetBinaryStream in class AbstractAxionBlobjava.sql.SQLException - indicating this method is not supported.