org.axiondb.jdbc
Interface AxionClob

All Superinterfaces:
Clob
All Known Implementing Classes:
AbstractAxionClob, ClobSource, StringClob

public interface AxionClob
extends Clob

The JDBC Clob interface, including the JDBC 2 writing methods.

Version:
$Revision: 1.4 $ $Date: 2002/12/16 23:34:55 $

Method Summary
 InputStream getAsciiStream()
           
 Reader getCharacterStream()
           
 String getSubString(long pos, int len)
           
 long length()
           
 long position(Clob searchstr, long start)
           
 long position(String searchstr, long start)
           
 OutputStream setAsciiStream(long pos)
           
 Writer setCharacterStream(long pos)
           
 int setString(long pos, String str)
           
 int setString(long pos, String str, int offset, int length)
           
 void truncate(long length)
           
 
Methods inherited from interface java.sql.Clob
free, getCharacterStream
 

Method Detail

getAsciiStream

InputStream getAsciiStream()
                           throws SQLException
Specified by:
getAsciiStream in interface Clob
Throws:
SQLException

getCharacterStream

Reader getCharacterStream()
                          throws SQLException
Specified by:
getCharacterStream in interface Clob
Throws:
SQLException

getSubString

String getSubString(long pos,
                    int len)
                    throws SQLException
Specified by:
getSubString in interface Clob
Throws:
SQLException

length

long length()
            throws SQLException
Specified by:
length in interface Clob
Throws:
SQLException

position

long position(Clob searchstr,
              long start)
              throws SQLException
Specified by:
position in interface Clob
Throws:
SQLException

position

long position(String searchstr,
              long start)
              throws SQLException
Specified by:
position in interface Clob
Throws:
SQLException

setAsciiStream

OutputStream setAsciiStream(long pos)
                            throws SQLException
Specified by:
setAsciiStream in interface Clob
Throws:
SQLException

setCharacterStream

Writer setCharacterStream(long pos)
                          throws SQLException
Specified by:
setCharacterStream in interface Clob
Throws:
SQLException

setString

int setString(long pos,
              String str)
              throws SQLException
Specified by:
setString in interface Clob
Throws:
SQLException

setString

int setString(long pos,
              String str,
              int offset,
              int length)
              throws SQLException
Specified by:
setString in interface Clob
Throws:
SQLException

truncate

void truncate(long length)
              throws SQLException
Specified by:
truncate in interface Clob
Throws:
SQLException