Package org.sqlite.jdbc4
Class JDBC4ResultSet.SqliteClob
- java.lang.Object
-
- org.sqlite.jdbc4.JDBC4ResultSet.SqliteClob
-
- All Implemented Interfaces:
java.sql.Clob,java.sql.NClob
- Enclosing class:
- JDBC4ResultSet
class JDBC4ResultSet.SqliteClob extends java.lang.Object implements java.sql.NClob
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Stringdata
-
Constructor Summary
Constructors Modifier Constructor Description protectedSqliteClob(java.lang.String data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfree()java.io.InputStreamgetAsciiStream()java.io.ReadergetCharacterStream()java.io.ReadergetCharacterStream(long arg0, long arg1)java.lang.StringgetSubString(long position, int length)longlength()longposition(java.lang.String arg0, long arg1)longposition(java.sql.Clob arg0, long arg1)java.io.OutputStreamsetAsciiStream(long arg0)java.io.WritersetCharacterStream(long arg0)intsetString(long arg0, java.lang.String arg1)intsetString(long arg0, java.lang.String arg1, int arg2, int arg3)voidtruncate(long arg0)
-
-
-
Method Detail
-
free
public void free() throws java.sql.SQLException- Specified by:
freein interfacejava.sql.Clob- Throws:
java.sql.SQLException
-
getAsciiStream
public java.io.InputStream getAsciiStream() throws java.sql.SQLException- Specified by:
getAsciiStreamin interfacejava.sql.Clob- Throws:
java.sql.SQLException
-
getCharacterStream
public java.io.Reader getCharacterStream() throws java.sql.SQLException- Specified by:
getCharacterStreamin interfacejava.sql.Clob- Throws:
java.sql.SQLException
-
getCharacterStream
public java.io.Reader getCharacterStream(long arg0, long arg1) throws java.sql.SQLException- Specified by:
getCharacterStreamin interfacejava.sql.Clob- Throws:
java.sql.SQLException
-
getSubString
public java.lang.String getSubString(long position, int length) throws java.sql.SQLException- Specified by:
getSubStringin interfacejava.sql.Clob- Throws:
java.sql.SQLException
-
length
public long length() throws java.sql.SQLException- Specified by:
lengthin interfacejava.sql.Clob- Throws:
java.sql.SQLException
-
position
public long position(java.lang.String arg0, long arg1) throws java.sql.SQLException- Specified by:
positionin interfacejava.sql.Clob- Throws:
java.sql.SQLException
-
position
public long position(java.sql.Clob arg0, long arg1) throws java.sql.SQLException- Specified by:
positionin interfacejava.sql.Clob- Throws:
java.sql.SQLException
-
setAsciiStream
public java.io.OutputStream setAsciiStream(long arg0) throws java.sql.SQLException- Specified by:
setAsciiStreamin interfacejava.sql.Clob- Throws:
java.sql.SQLException
-
setCharacterStream
public java.io.Writer setCharacterStream(long arg0) throws java.sql.SQLException- Specified by:
setCharacterStreamin interfacejava.sql.Clob- Throws:
java.sql.SQLException
-
setString
public int setString(long arg0, java.lang.String arg1) throws java.sql.SQLException- Specified by:
setStringin interfacejava.sql.Clob- Throws:
java.sql.SQLException
-
setString
public int setString(long arg0, java.lang.String arg1, int arg2, int arg3) throws java.sql.SQLException- Specified by:
setStringin interfacejava.sql.Clob- Throws:
java.sql.SQLException
-
truncate
public void truncate(long arg0) throws java.sql.SQLException- Specified by:
truncatein interfacejava.sql.Clob- Throws:
java.sql.SQLException
-
-