|
||||||||||
| 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()
|
InputStream |
getBinaryStream()
|
InputStream |
getBinaryStream(long pPos,
long pLength)
|
byte[] |
getBytes(long pPos,
int pLength)
|
long |
length()
|
long |
position(Blob pPattern,
long pStart)
|
long |
position(byte[] pPattern,
long pStart)
|
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 SQLException
length in interface BlobSQLException
public byte[] getBytes(long pPos,
int pLength)
throws SQLException
getBytes in interface BlobSQLException
public InputStream getBinaryStream()
throws SQLException
getBinaryStream in interface BlobSQLException
public InputStream getBinaryStream(long pPos,
long pLength)
throws SQLException
getBinaryStream in interface BlobSQLException
public long position(byte[] pPattern,
long pStart)
throws SQLException
position in interface BlobSQLException
public long position(Blob pPattern,
long pStart)
throws SQLException
position in interface BlobSQLException
public int setBytes(long pPos,
byte[] pBytes)
throws SQLException
setBytes in interface BlobSQLException
public int setBytes(long pPos,
byte[] pBytes,
int offset,
int len)
throws SQLException
setBytes in interface BlobSQLException
public OutputStream setBinaryStream(long pos)
throws SQLException
setBinaryStream in interface BlobSQLException
public void truncate(long len)
throws SQLException
truncate in interface BlobSQLException
public void free()
throws SQLException
free in interface BlobSQLException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||