|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sibvisions.rad.persist.jdbc.OracleDBAccess.BlobFromBFILE
public static class OracleDBAccess.BlobFromBFILE
The Blob
is the implementation for Oracle BFILE
.
Constructor Summary | |
---|---|
OracleDBAccess.BlobFromBFILE(oracle.sql.BFILE pBFILE)
Gets a Blob compatible Object for BFile. |
Method Summary | |
---|---|
void |
free()
|
java.io.InputStream |
getBinaryStream()
|
java.io.InputStream |
getBinaryStream(long pPos,
long pLength)
|
byte[] |
getBytes(long pPos,
int pLength)
|
long |
length()
|
long |
position(java.sql.Blob pPattern,
long pStart)
|
long |
position(byte[] pPattern,
long pStart)
|
java.io.OutputStream |
setBinaryStream(long pos)
|
int |
setBytes(long pPos,
byte[] pBytes)
|
int |
setBytes(long pPos,
byte[] pBytes,
int offset,
int len)
|
void |
truncate(long len)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OracleDBAccess.BlobFromBFILE(oracle.sql.BFILE pBFILE)
pBFILE
- the bFile.Method Detail |
---|
public long length() throws java.sql.SQLException
length
in interface java.sql.Blob
java.sql.SQLException
public byte[] getBytes(long pPos, int pLength) throws java.sql.SQLException
getBytes
in interface java.sql.Blob
java.sql.SQLException
public java.io.InputStream getBinaryStream() throws java.sql.SQLException
getBinaryStream
in interface java.sql.Blob
java.sql.SQLException
public java.io.InputStream getBinaryStream(long pPos, long pLength) throws java.sql.SQLException
getBinaryStream
in interface java.sql.Blob
java.sql.SQLException
public long position(byte[] pPattern, long pStart) throws java.sql.SQLException
position
in interface java.sql.Blob
java.sql.SQLException
public long position(java.sql.Blob pPattern, long pStart) throws java.sql.SQLException
position
in interface java.sql.Blob
java.sql.SQLException
public int setBytes(long pPos, byte[] pBytes) throws java.sql.SQLException
setBytes
in interface java.sql.Blob
java.sql.SQLException
public int setBytes(long pPos, byte[] pBytes, int offset, int len) throws java.sql.SQLException
setBytes
in interface java.sql.Blob
java.sql.SQLException
public java.io.OutputStream setBinaryStream(long pos) throws java.sql.SQLException
setBinaryStream
in interface java.sql.Blob
java.sql.SQLException
public void truncate(long len) throws java.sql.SQLException
truncate
in interface java.sql.Blob
java.sql.SQLException
public void free() throws java.sql.SQLException
free
in interface java.sql.Blob
java.sql.SQLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |