java.lang.Object
java.io.Reader
org.postgresql.pljava.jdbc.ClobValue
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Readable
,Clob
Implementation of
Clob
for the SPI connection.- Author:
- Thomas Hallgren
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
void
free()
getCharacterStream
(long pos, long length) static int
getReaderLength
(Reader value) getSubString
(long pos, int length) long
length()
void
mark
(int readLimit) boolean
long
In this method is not supported byClobValue
long
Not supported.int
read()
int
read
(char[] b) int
read
(char[] b, int off, int len) boolean
ready()
void
reset()
setAsciiStream
(long pos) In this method is not supported byClobValue
setCharacterStream
(long pos) In this method is not supported byClobValue
int
In this method is not supported byClobValue
int
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
-
Constructor Details
-
ClobValue
-
ClobValue
-
-
Method Details
-
getReaderLength
- Throws:
SQLException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in classReader
- Throws:
IOException
-
getAsciiStream
- Specified by:
getAsciiStream
in interfaceClob
-
getCharacterStream
- Specified by:
getCharacterStream
in interfaceClob
-
getSubString
- Specified by:
getSubString
in interfaceClob
- Throws:
SQLException
-
length
public long length() -
mark
- Overrides:
mark
in classReader
- Throws:
IOException
-
markSupported
public boolean markSupported()- Overrides:
markSupported
in classReader
-
position
Not supported. -
position
In this method is not supported byClobValue
-
read
- Overrides:
read
in classReader
- Throws:
IOException
-
read
- Overrides:
read
in classReader
- Throws:
IOException
-
read
- Specified by:
read
in classReader
- Throws:
IOException
-
ready
- Overrides:
ready
in classReader
- Throws:
IOException
-
reset
- Overrides:
reset
in classReader
- Throws:
IOException
-
setAsciiStream
In this method is not supported byClobValue
- Specified by:
setAsciiStream
in interfaceClob
-
setCharacterStream
In this method is not supported byClobValue
- Specified by:
setCharacterStream
in interfaceClob
-
setString
In this method is not supported byClobValue
-
setString
In this method is not supported byClobValue
-
skip
- Overrides:
skip
in classReader
- Throws:
IOException
-
truncate
public void truncate(long len) In this method is not supported byClobValue
-
getCharacterStream
- Specified by:
getCharacterStream
in interfaceClob
- Throws:
SQLException
-
free
- Specified by:
free
in interfaceClob
- Throws:
SQLException
-