Package org.apache.ignite.internal.jdbc2
Class JdbcClob
- java.lang.Object
-
- org.apache.ignite.internal.jdbc2.JdbcClob
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfree()InputStreamgetAsciiStream()ReadergetCharacterStream()ReadergetCharacterStream(long pos, long len)StringgetSubString(long pos, int len)longlength()longposition(String searchStr, long start)longposition(Clob searchStr, long start)OutputStreamsetAsciiStream(long pos)WritersetCharacterStream(long pos)intsetString(long pos, String str)intsetString(long pos, String str, int off, int len)voidtruncate(long len)
-
-
-
Constructor Detail
-
JdbcClob
public JdbcClob(String chars)
- Parameters:
chars- CLOB's character sequence.
-
-
Method Detail
-
length
public long length() throws SQLException- Specified by:
lengthin interfaceClob- Throws:
SQLException
-
getSubString
public String getSubString(long pos, int len) throws SQLException
- Specified by:
getSubStringin interfaceClob- Throws:
SQLException
-
getCharacterStream
public Reader getCharacterStream() throws SQLException
- Specified by:
getCharacterStreamin interfaceClob- Throws:
SQLException
-
getCharacterStream
public Reader getCharacterStream(long pos, long len) throws SQLException
- Specified by:
getCharacterStreamin interfaceClob- Throws:
SQLException
-
getAsciiStream
public InputStream getAsciiStream() throws SQLException
- Specified by:
getAsciiStreamin interfaceClob- Throws:
SQLException
-
position
public long position(String searchStr, long start) throws SQLException
- Specified by:
positionin interfaceClob- Throws:
SQLException
-
position
public long position(Clob searchStr, long start) throws SQLException
- Specified by:
positionin interfaceClob- Throws:
SQLException
-
setString
public int setString(long pos, String str) throws SQLException- Specified by:
setStringin interfaceClob- Throws:
SQLException
-
setString
public int setString(long pos, String str, int off, int len) throws SQLException- Specified by:
setStringin interfaceClob- Throws:
SQLException
-
truncate
public void truncate(long len) throws SQLException- Specified by:
truncatein interfaceClob- Throws:
SQLException
-
setAsciiStream
public OutputStream setAsciiStream(long pos) throws SQLException
- Specified by:
setAsciiStreamin interfaceClob- Throws:
SQLException
-
setCharacterStream
public Writer setCharacterStream(long pos) throws SQLException
- Specified by:
setCharacterStreamin interfaceClob- Throws:
SQLException
-
free
public void free() throws SQLException- Specified by:
freein interfaceClob- Throws:
SQLException
-
-