|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbiz.c24.io.api.data.SQLClob
public class SQLClob
An object representing a SQL CLOB (Character Large OBject).
Warning: Serialized objects of this class or of a deployed class which is derived from it may not be compatible with future releases of C24 Integreation Objects. The current serialization support is appropriate for short term storage or RMI between applications running the same version of C24 Integreation Objects.
SQLClobDataType
Constructor Summary | |
---|---|
SQLClob()
Constructs a new instance. |
|
SQLClob(String str)
Constructs a new instance from the specified string. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
void |
free()
Releases the underlying data. |
InputStream |
getAsciiStream()
|
Reader |
getCharacterStream()
|
Reader |
getCharacterStream(long pos,
long length)
Retrieves the value as a reader from the specified position. |
String |
getSubString(long pos,
int length)
|
int |
hashCode()
|
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 len)
|
String |
toString()
|
void |
truncate(long len)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SQLClob()
public SQLClob(String str)
str
- The string to use.Method Detail |
---|
public long length() throws SQLException
length
in interface Clob
SQLException
public void truncate(long len) throws SQLException
truncate
in interface Clob
SQLException
public InputStream getAsciiStream() throws SQLException
getAsciiStream
in interface Clob
SQLException
public OutputStream setAsciiStream(long pos) throws SQLException
setAsciiStream
in interface Clob
SQLException
public Reader getCharacterStream() throws SQLException
getCharacterStream
in interface Clob
SQLException
public Reader getCharacterStream(long pos, long length)
getCharacterStream
in interface Clob
pos
- The position to retrieve the data from.length
- The length of the desired stream.
BLOB
data.public Writer setCharacterStream(long pos) throws SQLException
setCharacterStream
in interface Clob
SQLException
public String getSubString(long pos, int length) throws SQLException
getSubString
in interface Clob
SQLException
public int setString(long pos, String str) throws SQLException
setString
in interface Clob
SQLException
public int setString(long pos, String str, int offset, int len) throws SQLException
setString
in interface Clob
SQLException
public long position(String searchstr, long start) throws SQLException
position
in interface Clob
SQLException
public long position(Clob searchstr, long start) throws SQLException
position
in interface Clob
SQLException
public void free()
free
in interface Clob
public String toString()
toString
in class Object
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |