|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.Reader
org.postgresql.pljava.jdbc.ClobValue
public class ClobValue
Field Summary |
---|
Fields inherited from class java.io.Reader |
---|
lock |
Constructor Summary | |
---|---|
ClobValue(java.io.Reader reader,
long nChars)
|
|
ClobValue(java.lang.String value)
|
Method Summary | |
---|---|
void |
close()
|
java.io.InputStream |
getAsciiStream()
|
java.io.Reader |
getCharacterStream()
|
static int |
getReaderLength(java.io.Reader value)
|
java.lang.String |
getSubString(long pos,
int length)
|
long |
length()
|
void |
mark(int readLimit)
|
boolean |
markSupported()
|
long |
position(java.sql.Clob pattern,
long start)
Not supported. |
long |
position(java.lang.String pattern,
long start)
In this method is not supported by ClobValue |
int |
read()
|
int |
read(char[] b)
|
int |
read(char[] b,
int off,
int len)
|
boolean |
ready()
|
void |
reset()
|
java.io.OutputStream |
setAsciiStream(long pos)
In this method is not supported by ClobValue |
java.io.Writer |
setCharacterStream(long pos)
In this method is not supported by ClobValue |
int |
setString(long pos,
java.lang.String str)
In this method is not supported by ClobValue |
int |
setString(long pos,
java.lang.String str,
int offset,
int len)
In this method is not supported by ClobValue |
long |
skip(long nBytes)
|
void |
truncate(long len)
In this method is not supported by ClobValue |
Methods inherited from class java.io.Reader |
---|
read |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClobValue(java.io.Reader reader, long nChars)
public ClobValue(java.lang.String value)
Method Detail |
---|
public static int getReaderLength(java.io.Reader value) throws java.sql.SQLException
java.sql.SQLException
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in class java.io.Reader
java.io.IOException
public java.io.InputStream getAsciiStream()
getAsciiStream
in interface java.sql.Clob
public java.io.Reader getCharacterStream()
getCharacterStream
in interface java.sql.Clob
public java.lang.String getSubString(long pos, int length) throws java.sql.SQLException
getSubString
in interface java.sql.Clob
java.sql.SQLException
public long length()
length
in interface java.sql.Clob
public void mark(int readLimit) throws java.io.IOException
mark
in class java.io.Reader
java.io.IOException
public boolean markSupported()
markSupported
in class java.io.Reader
public long position(java.sql.Clob pattern, long start)
position
in interface java.sql.Clob
public long position(java.lang.String pattern, long start)
ClobValue
position
in interface java.sql.Clob
public int read() throws java.io.IOException
read
in class java.io.Reader
java.io.IOException
public int read(char[] b) throws java.io.IOException
read
in class java.io.Reader
java.io.IOException
public int read(char[] b, int off, int len) throws java.io.IOException
read
in class java.io.Reader
java.io.IOException
public boolean ready() throws java.io.IOException
ready
in class java.io.Reader
java.io.IOException
public void reset() throws java.io.IOException
reset
in class java.io.Reader
java.io.IOException
public java.io.OutputStream setAsciiStream(long pos)
ClobValue
setAsciiStream
in interface java.sql.Clob
public java.io.Writer setCharacterStream(long pos)
ClobValue
setCharacterStream
in interface java.sql.Clob
public int setString(long pos, java.lang.String str)
ClobValue
setString
in interface java.sql.Clob
public int setString(long pos, java.lang.String str, int offset, int len)
ClobValue
setString
in interface java.sql.Clob
public long skip(long nBytes) throws java.io.IOException
skip
in class java.io.Reader
java.io.IOException
public void truncate(long len)
ClobValue
truncate
in interface java.sql.Clob
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |