- java.lang.Object
-
- java.io.Reader
-
- org.postgresql.pljava.jdbc.ClobValue
-
-
Method Summary
Modifier and Type Method Description void
close()
void
free()
InputStream
getAsciiStream()
Reader
getCharacterStream()
Reader
getCharacterStream(long pos, long length)
static int
getReaderLength(Reader value)
String
getSubString(long pos, int length)
long
length()
void
mark(int readLimit)
boolean
markSupported()
long
position(String pattern, long start)
In this method is not supported byClobValue
long
position(Clob pattern, long start)
Not supported.int
read()
int
read(char[] b)
int
read(char[] b, int off, int len)
boolean
ready()
void
reset()
OutputStream
setAsciiStream(long pos)
In this method is not supported byClobValue
Writer
setCharacterStream(long pos)
In this method is not supported byClobValue
int
setString(long pos, String str)
In this method is not supported byClobValue
int
setString(long pos, String str, int offset, int len)
In this method is not supported byClobValue
long
skip(long nBytes)
void
truncate(long len)
In this method is not supported byClobValue
-
Methods inherited from class java.io.Reader
nullReader, read, transferTo
-
-
-
-
Method Detail
-
getReaderLength
public static int getReaderLength(Reader value) throws SQLException
- Throws:
SQLException
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in classReader
- Throws:
IOException
-
getAsciiStream
public InputStream getAsciiStream()
- Specified by:
getAsciiStream
in interfaceClob
-
getCharacterStream
public Reader getCharacterStream()
- Specified by:
getCharacterStream
in interfaceClob
-
getSubString
public String getSubString(long pos, int length) throws SQLException
- Specified by:
getSubString
in interfaceClob
- Throws:
SQLException
-
mark
public void mark(int readLimit) throws IOException
- Overrides:
mark
in classReader
- Throws:
IOException
-
markSupported
public boolean markSupported()
- Overrides:
markSupported
in classReader
-
position
public long position(Clob pattern, long start)
Not supported.
-
position
public long position(String pattern, long start)
In this method is not supported byClobValue
-
read
public int read() throws IOException
- Overrides:
read
in classReader
- Throws:
IOException
-
read
public int read(char[] b) throws IOException
- Overrides:
read
in classReader
- Throws:
IOException
-
read
public int read(char[] b, int off, int len) throws IOException
- Specified by:
read
in classReader
- Throws:
IOException
-
ready
public boolean ready() throws IOException
- Overrides:
ready
in classReader
- Throws:
IOException
-
reset
public void reset() throws IOException
- Overrides:
reset
in classReader
- Throws:
IOException
-
setAsciiStream
public OutputStream setAsciiStream(long pos)
In this method is not supported byClobValue
- Specified by:
setAsciiStream
in interfaceClob
-
setCharacterStream
public Writer setCharacterStream(long pos)
In this method is not supported byClobValue
- Specified by:
setCharacterStream
in interfaceClob
-
setString
public int setString(long pos, String str)
In this method is not supported byClobValue
-
setString
public int setString(long pos, String str, int offset, int len)
In this method is not supported byClobValue
-
skip
public long skip(long nBytes) throws IOException
- Overrides:
skip
in classReader
- Throws:
IOException
-
truncate
public void truncate(long len)
In this method is not supported byClobValue
-
getCharacterStream
public Reader getCharacterStream(long pos, long length) throws SQLException
- Specified by:
getCharacterStream
in interfaceClob
- Throws:
SQLException
-
free
public void free() throws SQLException
- Specified by:
free
in interfaceClob
- Throws:
SQLException
-
-