|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.InputStream
org.postgresql.pljava.jdbc.BlobValue
| Constructor Summary | |
BlobValue(byte[] bytes)
|
|
BlobValue(java.io.InputStream stream,
long nBytes)
|
|
| Method Summary | |
int |
available()
|
java.io.InputStream |
getBinaryStream()
|
byte[] |
getBytes(long pos,
int length)
|
long |
length()
|
void |
mark(int readLimit)
|
boolean |
markSupported()
|
long |
position(java.sql.Blob pattern,
long start)
Not supported. |
long |
position(byte[] pattern,
long start)
Not supported. |
int |
read()
|
int |
read(byte[] b)
|
int |
read(byte[] b,
int off,
int len)
|
void |
reset()
|
java.io.OutputStream |
setBinaryStream(long pos)
In this method is not supported by BlobValue |
int |
setBytes(long pos,
byte[] bytes)
In this method is not supported by BlobValue |
int |
setBytes(long pos,
byte[] bytes,
int offset,
int len)
In this method is not supported by BlobValue |
long |
skip(long nBytes)
|
void |
truncate(long len)
In this method is not supported by BlobValue |
| Methods inherited from class java.io.InputStream |
close |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BlobValue(byte[] bytes)
public BlobValue(java.io.InputStream stream,
long nBytes)
| Method Detail |
public long length()
length in interface java.sql.Blobpublic java.io.InputStream getBinaryStream()
getBinaryStream in interface java.sql.Blob
public byte[] getBytes(long pos,
int length)
throws java.sql.SQLException
getBytes in interface java.sql.Blobjava.sql.SQLException
public long position(byte[] pattern,
long start)
position in interface java.sql.Blob
public long position(java.sql.Blob pattern,
long start)
position in interface java.sql.Blobpublic java.io.OutputStream setBinaryStream(long pos)
BlobValue
setBinaryStream in interface java.sql.Blob
public int setBytes(long pos,
byte[] bytes)
BlobValue
setBytes in interface java.sql.Blob
public int setBytes(long pos,
byte[] bytes,
int offset,
int len)
BlobValue
setBytes in interface java.sql.Blobpublic void truncate(long len)
BlobValue
truncate in interface java.sql.Blob
public int available()
throws java.io.IOException
java.io.IOExceptionpublic void mark(int readLimit)
public boolean markSupported()
public int read()
throws java.io.IOException
java.io.IOException
public int read(byte[] b)
throws java.io.IOException
java.io.IOException
public int read(byte[] b,
int off,
int len)
throws java.io.IOException
java.io.IOException
public long skip(long nBytes)
throws java.io.IOException
java.io.IOException
public void reset()
throws java.io.IOException
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||