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, setObjectIndex
protected String clob
protected transient Connection conn
public Clob(String clob, Connection conn) throws SQLException
SQLException
public Clob(String clob)
public String getClobData()
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 Writer setCharacterStream(long pos) throws SQLException
setCharacterStream
in interface Clob
SQLException
public Writer getCharacterOutputStream() throws SQLException
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 int compareTo(Object other) throws ClassCastException
compareTo
in interface Comparable
ClassCastException
public void setConnection(Connection conn)
public void free() throws SQLException
free
in interface Clob
SQLException
public Reader getCharacterStream(long pos, long length) throws SQLException
getCharacterStream
in interface Clob
SQLException
Copyright © GigaSpaces.