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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidfree()getCharacterStream(long pos, long length) static intgetReaderLength(Reader value) getSubString(long pos, int length) longlength()voidmark(int readLimit) booleanlongIn this method is not supported byClobValuelongNot supported.intread()intread(char[] b) intread(char[] b, int off, int len) booleanready()voidreset()setAsciiStream(long pos) In this method is not supported byClobValuesetCharacterStream(long pos) In this method is not supported byClobValueintIn this method is not supported byClobValueintIn this method is not supported byClobValuelongskip(long nBytes) voidtruncate(long len) In this method is not supported byClobValueMethods inherited from class java.io.Reader
nullReader, read, transferTo
-
Constructor Details
-
ClobValue
-
ClobValue
-
-
Method Details
-
getReaderLength
- Throws:
SQLException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein classReader- Throws:
IOException
-
getAsciiStream
- Specified by:
getAsciiStreamin interfaceClob
-
getCharacterStream
- Specified by:
getCharacterStreamin interfaceClob
-
getSubString
- Specified by:
getSubStringin interfaceClob- Throws:
SQLException
-
length
public long length() -
mark
- Overrides:
markin classReader- Throws:
IOException
-
markSupported
public boolean markSupported()- Overrides:
markSupportedin classReader
-
position
Not supported. -
position
In this method is not supported byClobValue -
read
- Overrides:
readin classReader- Throws:
IOException
-
read
- Overrides:
readin classReader- Throws:
IOException
-
read
- Specified by:
readin classReader- Throws:
IOException
-
ready
- Overrides:
readyin classReader- Throws:
IOException
-
reset
- Overrides:
resetin classReader- Throws:
IOException
-
setAsciiStream
In this method is not supported byClobValue- Specified by:
setAsciiStreamin interfaceClob
-
setCharacterStream
In this method is not supported byClobValue- Specified by:
setCharacterStreamin interfaceClob
-
setString
In this method is not supported byClobValue -
setString
In this method is not supported byClobValue -
skip
- Overrides:
skipin classReader- Throws:
IOException
-
truncate
public void truncate(long len) In this method is not supported byClobValue -
getCharacterStream
- Specified by:
getCharacterStreamin interfaceClob- Throws:
SQLException
-
free
- Specified by:
freein interfaceClob- Throws:
SQLException
-