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.String
data
-
Constructor Summary
Constructors Modifier Constructor Description protected
SqliteClob(java.lang.String data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
free()
java.io.InputStream
getAsciiStream()
java.io.Reader
getCharacterStream()
java.io.Reader
getCharacterStream(long arg0, long arg1)
java.lang.String
getSubString(long position, int length)
long
length()
long
position(java.lang.String arg0, long arg1)
long
position(java.sql.Clob arg0, long arg1)
java.io.OutputStream
setAsciiStream(long arg0)
java.io.Writer
setCharacterStream(long arg0)
int
setString(long arg0, java.lang.String arg1)
int
setString(long arg0, java.lang.String arg1, int arg2, int arg3)
void
truncate(long arg0)
-
-
-
Method Detail
-
free
public void free() throws java.sql.SQLException
- Specified by:
free
in interfacejava.sql.Clob
- Throws:
java.sql.SQLException
-
getAsciiStream
public java.io.InputStream getAsciiStream() throws java.sql.SQLException
- Specified by:
getAsciiStream
in interfacejava.sql.Clob
- Throws:
java.sql.SQLException
-
getCharacterStream
public java.io.Reader getCharacterStream() throws java.sql.SQLException
- Specified by:
getCharacterStream
in interfacejava.sql.Clob
- Throws:
java.sql.SQLException
-
getCharacterStream
public java.io.Reader getCharacterStream(long arg0, long arg1) throws java.sql.SQLException
- Specified by:
getCharacterStream
in interfacejava.sql.Clob
- Throws:
java.sql.SQLException
-
getSubString
public java.lang.String getSubString(long position, int length) throws java.sql.SQLException
- Specified by:
getSubString
in interfacejava.sql.Clob
- Throws:
java.sql.SQLException
-
length
public long length() throws java.sql.SQLException
- Specified by:
length
in interfacejava.sql.Clob
- Throws:
java.sql.SQLException
-
position
public long position(java.lang.String arg0, long arg1) throws java.sql.SQLException
- Specified by:
position
in interfacejava.sql.Clob
- Throws:
java.sql.SQLException
-
position
public long position(java.sql.Clob arg0, long arg1) throws java.sql.SQLException
- Specified by:
position
in interfacejava.sql.Clob
- Throws:
java.sql.SQLException
-
setAsciiStream
public java.io.OutputStream setAsciiStream(long arg0) throws java.sql.SQLException
- Specified by:
setAsciiStream
in interfacejava.sql.Clob
- Throws:
java.sql.SQLException
-
setCharacterStream
public java.io.Writer setCharacterStream(long arg0) throws java.sql.SQLException
- Specified by:
setCharacterStream
in interfacejava.sql.Clob
- Throws:
java.sql.SQLException
-
setString
public int setString(long arg0, java.lang.String arg1) throws java.sql.SQLException
- Specified by:
setString
in 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:
setString
in interfacejava.sql.Clob
- Throws:
java.sql.SQLException
-
truncate
public void truncate(long arg0) throws java.sql.SQLException
- Specified by:
truncate
in interfacejava.sql.Clob
- Throws:
java.sql.SQLException
-
-