public class ClientSideClob extends ClientSideLob implements java.sql.Clob, WriterWatcher, OutputStreamWatcher
| Modifier and Type | Field and Description |
|---|---|
static int |
TEMPORARY_CLOB_SIZE |
| Constructor and Description |
|---|
ClientSideClob() |
ClientSideClob(java.nio.charset.Charset aCharSet,
int aByteLengthPerChar) |
| Modifier and Type | Method and Description |
|---|---|
void |
finalizeStream(java.nio.ByteBuffer aBuffer,
int aLastPos) |
void |
finalizeWriter(CharArrayClobWriter aOut) |
void |
free() |
java.io.InputStream |
getAsciiStream() |
java.io.Reader |
getCharacterStream() |
java.io.Reader |
getCharacterStream(long aPos,
long aLength) |
java.lang.String |
getSubString(long aPos,
int aLength) |
long |
length() |
long |
position(java.sql.Clob aPatternClob,
long aPos) |
long |
position(java.lang.String aPattern,
long aPos) |
java.io.OutputStream |
setAsciiStream(long aPos) |
java.io.Writer |
setCharacterStream(long aPos) |
int |
setString(long aPos,
java.lang.String aSource) |
int |
setString(long aPos,
java.lang.String aSource,
int aOffset,
int aLength) |
void |
truncate(long aLength) |
ensureIntRange, ensureOpen, setClosedpublic static final int TEMPORARY_CLOB_SIZE
public ClientSideClob()
public ClientSideClob(java.nio.charset.Charset aCharSet,
int aByteLengthPerChar)
public java.io.InputStream getAsciiStream()
throws java.sql.SQLException
getAsciiStream in interface java.sql.Clobjava.sql.SQLExceptionpublic java.io.Reader getCharacterStream()
throws java.sql.SQLException
getCharacterStream in interface java.sql.Clobjava.sql.SQLExceptionpublic java.lang.String getSubString(long aPos,
int aLength)
throws java.sql.SQLException
getSubString in interface java.sql.Clobjava.sql.SQLExceptionpublic long length()
throws java.sql.SQLException
length in interface java.sql.Clobjava.sql.SQLExceptionpublic long position(java.sql.Clob aPatternClob,
long aPos)
throws java.sql.SQLException
position in interface java.sql.Clobjava.sql.SQLExceptionpublic long position(java.lang.String aPattern,
long aPos)
throws java.sql.SQLException
position in interface java.sql.Clobjava.sql.SQLExceptionpublic java.io.OutputStream setAsciiStream(long aPos)
throws java.sql.SQLException
setAsciiStream in interface java.sql.Clobjava.sql.SQLExceptionpublic java.io.Writer setCharacterStream(long aPos)
throws java.sql.SQLException
setCharacterStream in interface java.sql.Clobjava.sql.SQLExceptionpublic int setString(long aPos,
java.lang.String aSource)
throws java.sql.SQLException
setString in interface java.sql.Clobjava.sql.SQLExceptionpublic int setString(long aPos,
java.lang.String aSource,
int aOffset,
int aLength)
throws java.sql.SQLException
setString in interface java.sql.Clobjava.sql.SQLExceptionpublic void truncate(long aLength)
throws java.sql.SQLException
truncate in interface java.sql.Clobjava.sql.SQLExceptionpublic void free()
throws java.sql.SQLException
free in interface java.sql.Clobjava.sql.SQLExceptionpublic java.io.Reader getCharacterStream(long aPos,
long aLength)
throws java.sql.SQLException
getCharacterStream in interface java.sql.Clobjava.sql.SQLExceptionpublic void finalizeWriter(CharArrayClobWriter aOut)
finalizeWriter in interface WriterWatcherpublic void finalizeStream(java.nio.ByteBuffer aBuffer,
int aLastPos)
finalizeStream in interface OutputStreamWatcher