public abstract class AbstractClob extends java.lang.Object implements Clob
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractClob() |
protected |
AbstractClob(Repository repo)
Use of this constructor indicates that setValue should operate within a
transaction.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
asString()
Convenience method to capture all the Clob data as a single String.
|
boolean |
equals(java.lang.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(java.lang.String value)
Convenience method to overwrite all Clob data with the value of a single
String.
|
java.lang.String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitgetLength, openReader, openReader, openReader, openWriter, openWriter, openWriter, setLengthgetLocatorprotected AbstractClob()
protected AbstractClob(Repository repo)
repo - optional repository to use for performing string conversion
within transactionspublic java.lang.String asString()
throws FetchException
ClobasString in interface ClobFetchExceptionpublic void setValue(java.lang.String value)
throws PersistException
ClobsetValue in interface Clobvalue - Clob is overwritten with this valuePersistExceptionpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
Lobpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.