|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.amazon.carbonado.lob.AbstractClob
public abstract class AbstractClob
AbstractClob implements a small set of common Clob methods.
| Constructor Summary | |
|---|---|
protected |
AbstractClob()
|
protected |
AbstractClob(Repository repo)
Use of this constructor indicates that setValue should operate within a transaction. |
| Method Summary | |
|---|---|
String |
asString()
Convenience method to capture all the Clob data as a single String. |
boolean |
equals(Object obj)
Two Lobs are considered equal if the object instances are the same or if they point to the same content. |
int |
hashCode()
|
void |
setValue(String value)
Convenience method to overwrite all Clob data with the value of a single String. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.amazon.carbonado.lob.Clob |
|---|
getLength, openReader, openReader, openReader, openWriter, openWriter, openWriter, setLength |
| Methods inherited from interface com.amazon.carbonado.lob.Lob |
|---|
getLocator |
| Constructor Detail |
|---|
protected AbstractClob()
protected AbstractClob(Repository repo)
repo - optional repository to use for performing string conversion
within transactions| Method Detail |
|---|
public String asString()
throws FetchException
Clob
asString in interface ClobFetchException
public void setValue(String value)
throws PersistException
Clob
setValue in interface Clobvalue - Clob is overwritten with this value
PersistExceptionpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
Lob
equals in interface Lobequals in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||