public class ClobSource extends AbstractAxionClob
Clob wrapping a LobSource.| Constructor and Description |
|---|
ClobSource(LobSource lob) |
| Modifier and Type | Method and Description |
|---|---|
void |
free() |
java.io.InputStream |
getAsciiStream()
This method is guaranteed to return an ASCII strream.
|
java.io.Reader |
getCharacterStream() |
java.io.Reader |
getCharacterStream(long arg0,
long arg1) |
protected java.io.InputStream |
getUtf8Stream() |
long |
length() |
java.io.OutputStream |
setAsciiStream(long pos)
The behaviour of this method is undefined for non-ASCII
input.
|
void |
setLobSource(LobSource lob) |
java.io.OutputStream |
setUtf8Stream(long pos) |
void |
truncate(long length) |
getSubString, position, position, setCharacterStream, setString, setStringpublic ClobSource(LobSource lob)
public void setLobSource(LobSource lob)
protected java.io.InputStream getUtf8Stream()
throws AxionException
AxionExceptionpublic java.io.InputStream getAsciiStream()
throws java.sql.SQLException
getAsciiStream in interface java.sql.ClobgetAsciiStream in interface AxionClobgetAsciiStream in class AbstractAxionClobjava.sql.SQLExceptionpublic java.io.Reader getCharacterStream()
throws java.sql.SQLException
getCharacterStream in interface java.sql.ClobgetCharacterStream in interface AxionClobgetCharacterStream in class AbstractAxionClobjava.sql.SQLExceptionpublic java.io.OutputStream setAsciiStream(long pos)
throws java.sql.SQLException
setAsciiStream in interface java.sql.ClobsetAsciiStream in interface AxionClobsetAsciiStream in class AbstractAxionClobjava.sql.SQLExceptionpublic java.io.OutputStream setUtf8Stream(long pos)
throws java.sql.SQLException
setUtf8Stream in class AbstractAxionClobjava.sql.SQLExceptionAbstractAxionClob.setCharacterStream(long)public long length()
throws java.sql.SQLException
length in interface java.sql.Cloblength in interface AxionCloblength in class AbstractAxionClobjava.sql.SQLExceptionpublic void truncate(long length)
throws java.sql.SQLException
truncate in interface java.sql.Clobtruncate in interface AxionClobtruncate in class AbstractAxionClobjava.sql.SQLExceptionpublic void free()
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.io.Reader getCharacterStream(long arg0,
long arg1)
throws java.sql.SQLException
java.sql.SQLException