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, setString
public ClobSource(LobSource lob)
public void setLobSource(LobSource lob)
protected java.io.InputStream getUtf8Stream() throws AxionException
AxionException
public java.io.InputStream getAsciiStream() throws java.sql.SQLException
getAsciiStream
in interface java.sql.Clob
getAsciiStream
in interface AxionClob
getAsciiStream
in class AbstractAxionClob
java.sql.SQLException
public java.io.Reader getCharacterStream() throws java.sql.SQLException
getCharacterStream
in interface java.sql.Clob
getCharacterStream
in interface AxionClob
getCharacterStream
in class AbstractAxionClob
java.sql.SQLException
public java.io.OutputStream setAsciiStream(long pos) throws java.sql.SQLException
setAsciiStream
in interface java.sql.Clob
setAsciiStream
in interface AxionClob
setAsciiStream
in class AbstractAxionClob
java.sql.SQLException
public java.io.OutputStream setUtf8Stream(long pos) throws java.sql.SQLException
setUtf8Stream
in class AbstractAxionClob
java.sql.SQLException
AbstractAxionClob.setCharacterStream(long)
public long length() throws java.sql.SQLException
length
in interface java.sql.Clob
length
in interface AxionClob
length
in class AbstractAxionClob
java.sql.SQLException
public void truncate(long length) throws java.sql.SQLException
truncate
in interface java.sql.Clob
truncate
in interface AxionClob
truncate
in class AbstractAxionClob
java.sql.SQLException
public void free() throws java.sql.SQLException
java.sql.SQLException
public java.io.Reader getCharacterStream(long arg0, long arg1) throws java.sql.SQLException
java.sql.SQLException