public class Clob extends ObjectWithUID implements Clob, Comparable
| Modifier and Type | Field and Description |
|---|---|
protected String |
clob |
protected Connection |
conn |
entryUID, objectIndex| Constructor and Description |
|---|
Clob(String clob) |
Clob(String clob,
Connection conn) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Object other) |
boolean |
equals(Object ob) |
void |
free() |
InputStream |
getAsciiStream() |
Writer |
getCharacterOutputStream() |
Reader |
getCharacterStream() |
Reader |
getCharacterStream(long pos,
long length) |
String |
getClobData() |
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) |
void |
setConnection(Connection conn) |
int |
setString(long pos,
String str) |
int |
setString(long pos,
String str,
int offset,
int len) |
String |
toString() |
void |
truncate(long len) |
getEntryUID, getObjectIndex, setEntryUID, setObjectIndexprotected String clob
protected transient Connection conn
public Clob(String clob, Connection conn) throws SQLException
SQLExceptionpublic Clob(String clob)
public String getClobData()
public long length()
throws SQLException
length in interface ClobSQLExceptionpublic void truncate(long len)
throws SQLException
truncate in interface ClobSQLExceptionpublic InputStream getAsciiStream() throws SQLException
getAsciiStream in interface ClobSQLExceptionpublic OutputStream setAsciiStream(long pos) throws SQLException
setAsciiStream in interface ClobSQLExceptionpublic Reader getCharacterStream() throws SQLException
getCharacterStream in interface ClobSQLExceptionpublic Writer setCharacterStream(long pos) throws SQLException
setCharacterStream in interface ClobSQLExceptionpublic Writer getCharacterOutputStream() throws SQLException
SQLExceptionpublic String getSubString(long pos, int length) throws SQLException
getSubString in interface ClobSQLExceptionpublic int setString(long pos,
String str)
throws SQLException
setString in interface ClobSQLExceptionpublic int setString(long pos,
String str,
int offset,
int len)
throws SQLException
setString in interface ClobSQLExceptionpublic long position(String searchstr, long start) throws SQLException
position in interface ClobSQLExceptionpublic long position(Clob searchstr, long start) throws SQLException
position in interface ClobSQLExceptionpublic int compareTo(Object other) throws ClassCastException
compareTo in interface ComparableClassCastExceptionpublic void setConnection(Connection conn)
public void free()
throws SQLException
free in interface ClobSQLExceptionpublic Reader getCharacterStream(long pos, long length) throws SQLException
getCharacterStream in interface ClobSQLExceptionCopyright © GigaSpaces.