|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.pds.AbstractPersistentRetrieve
Field Summary | |
private static String |
BLOB_PREFIX
|
private boolean |
checkLobsDisabled
|
protected static Object |
LOBS_DISABLED_KEY
|
private boolean |
lobsDisabled
|
Fields inherited from interface wt.pds.PersistentRetrieveIfc |
versionID |
Constructor Summary | |
AbstractPersistentRetrieve()
|
Method Summary | |
abstract void |
close()
Immediately release a ResultSet's datastore and connection resources |
abstract InputStream |
getAsciiStream(String attributeName)
Get the value of a column in the current row as a stream of ASCII characters. |
abstract BigDecimal |
getBigDecimal(String attributeName)
Get the value of a column in the current row as a BigDecimal |
abstract InputStream |
getBinaryStream(String attributeName)
Get the value of a column in the current row as a stream of uninterpreted bytes. |
abstract boolean |
getBlobRewriteEnabled()
|
abstract boolean |
getBoolean(String attributeName)
Get the value of a column in the current row as a Java boolean. |
abstract Boolean |
getBooleanObject(String attributeName)
Get the value of a column in the current row as a Boolean. |
abstract boolean |
getBuildMaps()
|
abstract byte |
getByte(String attributeName)
Get the value of a column in the current row as a Java byte. |
abstract Byte |
getByteObject(String attributeName)
Get the value of a column in the current row as a Byte. |
abstract byte[] |
getBytes(String attributeName)
Get the value of a column in the current row as a Java byte array. |
abstract char |
getChar(String attributeName)
Get the value of a column in the current row as a Java char. |
abstract Character |
getCharObject(String attributeName)
Get the value of a column in the current row as a Character. |
abstract String |
getContainer()
Get the current container name. |
abstract Date |
getDate(String attributeName)
Get the value of a column in the current row as a java.sql.Date object. |
abstract double |
getDouble(String attributeName)
Get the value of a column in the current row as a Java double. |
abstract Double |
getDoubleObject(String attributeName)
Get the value of a column in the current row as a Double. |
abstract float |
getFloat(String attributeName)
Get the value of a column in the current row as a Java float. |
abstract Float |
getFloatObject(String attributeName)
Get the value of a column in the current row as a Float. |
abstract String |
getFullAttrName(String attrName)
|
Object |
getInlineObject(String attributeName,
String blobAttributeName)
Get the value of a blob column as a Java Object. |
abstract int |
getInt(String attributeName)
Get the value of a column in the current row as a Java int. |
abstract Integer |
getIntObject(String attributeName)
Get the value of a column in the current row as an Integer. |
abstract LobLocator |
getLobLocator(String attributeName)
Get a LobLocator for the given attribute. |
protected boolean |
getLobsDisabled()
|
abstract long |
getLong(String attributeName)
Get the value of a column in the current row as a Java long. |
abstract Long |
getLongObject(String attributeName)
Get the value of a column in the current row as a Long. |
abstract Object |
getObject(String attributeName)
Get the value of a column in the current row as a Java object. |
abstract short |
getShort(String attributeName)
Get the value of a column in the current row as a Java short. |
abstract Short |
getShortObject(String attributeName)
Get the value of a column in the current row as a Short. |
abstract Object |
getSmallObject(String attributeName)
Get the value of a column in the current row as a Java object. |
abstract String |
getString(String attributeName)
Get the value of a column in the current row as a Java String. |
abstract Time |
getTime(String attributeName)
Get the value of a column in the current row as a java.sql.Time object. |
abstract Timestamp |
getTimestamp(String attributeName)
Get the value of a column in the current row as a java.sql.Timestamp object. |
abstract ObjectMappable |
getTopObject()
|
abstract InputStream |
getUnicodeStream(String attributeName)
Get the value of a column in the current row as a stream of Unicode characters and then read in chunks. |
WTConnection |
getUserConnection()
|
private static MethodContext |
getUserContext()
|
abstract boolean |
next()
A ResultSet is initially positioned before its first row; the first call to next makes the first row the current row; the second call makes the second row the current row, etc. |
abstract ObjectMappable |
readObject(String attribute_name,
ObjectMappable obj,
Class concrete_class,
boolean isRequired)
Get the values corresponding to a nested ObjectMappable Object. |
Object |
rewriteBlob(String attrName,
String value)
|
abstract boolean |
wasNull()
A column may have the value of SQL NULL; wasNull reports whether the last column read had this special value. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String BLOB_PREFIX
protected static Object LOBS_DISABLED_KEY
private boolean lobsDisabled
private boolean checkLobsDisabled
Constructor Detail |
public AbstractPersistentRetrieve()
Method Detail |
public abstract InputStream getAsciiStream(String attributeName) throws SQLException
getAsciiStream
in interface PersistentRetrieveIfc
attributeName
- a class attribute name
SQLException
- if a database-access error occurs.public abstract BigDecimal getBigDecimal(String attributeName) throws SQLException
getBigDecimal
in interface PersistentRetrieveIfc
attributeName
- a class attribute name
SQLException
- if a database-access error occurs.public abstract InputStream getBinaryStream(String attributeName) throws SQLException
getBinaryStream
in interface PersistentRetrieveIfc
attributeName
- a class attribute name
SQLException
- if a database-access error occurs.public abstract boolean getBoolean(String attributeName) throws SQLException
getBoolean
in interface PersistentRetrieveIfc
attributeName
- a class attribute name
SQLException
- if a database-access error occurs.public abstract Boolean getBooleanObject(String attributeName) throws SQLException
getBooleanObject
in interface PersistentRetrieveIfc
attributeName
- a class attribute name
SQLException
- if a database-access error occurs.public abstract byte getByte(String attributeName) throws SQLException
getByte
in interface PersistentRetrieveIfc
attributeName
- a class attribute name
SQLException
- if a database-access error occurs.public abstract Byte getByteObject(String attributeName) throws SQLException
getByteObject
in interface PersistentRetrieveIfc
attributeName
- a class attribute name
SQLException
- if a database-access error occurs.public abstract byte[] getBytes(String attributeName) throws SQLException, DatastoreException
getBytes
in interface PersistentRetrieveIfc
attributeName
- a class attribute name
SQLException
- if a database-access error occurs.
DatastoreException
public abstract char getChar(String attributeName) throws SQLException
getChar
in interface PersistentRetrieveIfc
attributeName
- a class attribute name
SQLException
- if a database-access error occurs.public abstract Character getCharObject(String attributeName) throws SQLException
getCharObject
in interface PersistentRetrieveIfc
attributeName
- a class attribute name
SQLException
- if a database-access error occurs.public abstract Date getDate(String attributeName) throws SQLException
getDate
in interface PersistentRetrieveIfc
attributeName
- a class attribute name
SQLException
- if a database-access error occurs.public abstract double getDouble(String attributeName) throws SQLException
getDouble
in interface PersistentRetrieveIfc
attributeName
- a class attribute name
SQLException
- if a database-access error occurs.public abstract Double getDoubleObject(String attributeName) throws SQLException
getDoubleObject
in interface PersistentRetrieveIfc
attributeName
- a class attribute name
SQLException
- if a database-access error occurs.public abstract float getFloat(String attributeName) throws SQLException
getFloat
in interface PersistentRetrieveIfc
attributeName
- a class attribute name
SQLException
- if a database-access error occurs.public abstract Float getFloatObject(String attributeName) throws SQLException
getFloatObject
in interface PersistentRetrieveIfc
attributeName
- a class attribute name
SQLException
- if a database-access error occurs.public Object getInlineObject(String attributeName, String blobAttributeName) throws SQLException, DatastoreException
getInlineObject
in interface PersistentRetrieveIfc
attributeName
- a class attribute nameblobAttributeName
- a blob attribute name
SQLException
- if a database-access error occurs.
PersistenceException
- if a database-access error occurs.
DatastoreException
public abstract int getInt(String attributeName) throws SQLException
getInt
in interface PersistentRetrieveIfc
attributeName
- a class attribute name
SQLException
- if a database-access error occurs.public abstract Integer getIntObject(String attributeName) throws SQLException
getIntObject
in interface PersistentRetrieveIfc
attributeName
- a class attribute name
SQLException
- if a database-access error occurs.public abstract long getLong(String attributeName) throws SQLException
getLong
in interface PersistentRetrieveIfc
attributeName
- a class attribute name
SQLException
- if a database-access error occurs.public abstract Long getLongObject(String attributeName) throws SQLException
getLongObject
in interface PersistentRetrieveIfc
attributeName
- a class attribute name
SQLException
- if a database-access error occurs.public abstract Object getObject(String attributeName) throws SQLException, DatastoreException
getObject
in interface PersistentRetrieveIfc
attributeName
- a class attribute name
SQLException
- if a database-access error occurs.
DatastoreException
public abstract Object getSmallObject(String attributeName) throws SQLException, DatastoreException
getSmallObject
in interface PersistentRetrieveIfc
attributeName
- a class attribute name
SQLException
- if a database-access error occurs.
DatastoreException
public abstract short getShort(String attributeName) throws SQLException
getShort
in interface PersistentRetrieveIfc
attributeName
- a class attribute name
SQLException
- if a database-access error occurs.public abstract Short getShortObject(String attributeName) throws SQLException
getShortObject
in interface PersistentRetrieveIfc
attributeName
- a class attribute name
SQLException
- if a database-access error occurs.public abstract String getString(String attributeName) throws SQLException
getString
in interface PersistentRetrieveIfc
attributeName
- a class attribute name
SQLException
- if a database-access error occurs.public abstract Time getTime(String attributeName) throws SQLException
getTime
in interface PersistentRetrieveIfc
attributeName
- a class attribute name
SQLException
- if a database-access error occurs.public abstract Timestamp getTimestamp(String attributeName) throws SQLException
getTimestamp
in interface PersistentRetrieveIfc
attributeName
- a class attribute name
SQLException
- if a database-access error occurs.public abstract InputStream getUnicodeStream(String attributeName) throws SQLException
getUnicodeStream
in interface PersistentRetrieveIfc
attributeName
- a class attribute name
SQLException
- if a database-access error occurs.public abstract LobLocator getLobLocator(String attributeName) throws SQLException, DatastoreException
getLobLocator
in interface PersistentRetrieveIfc
attributeName
- a class attribute name
SQLException
- if a database-access error occurs.
DatastoreException
public abstract ObjectMappable readObject(String attribute_name, ObjectMappable obj, Class concrete_class, boolean isRequired) throws SQLException, DatastoreException
readExternal
method.
readObject
in interface PersistentRetrieveIfc
attribute_name
- a class attribute nameobj
- the nested objectconcrete_class
- the class to instantiate if needed
SQLException
- if a database-access error occurs.
DatastoreException
- if any other internal error occurs.public abstract String getContainer()
readObject
.
getContainer
in interface PersistentRetrieveIfc
public abstract boolean next() throws SQLException
next
in interface PersistentRetrieveIfc
SQLException
- if a database-access error occurs.public abstract void close() throws SQLException
close
in interface PersistentRetrieveIfc
SQLException
- if a database-access error occurs.public abstract boolean wasNull() throws SQLException
wasNull
in interface PersistentRetrieveIfc
SQLException
- if a database-access error occurs.public abstract ObjectMappable getTopObject()
public abstract boolean getBlobRewriteEnabled()
public Object rewriteBlob(String attrName, String value) throws SQLException, DatastoreException
SQLException
DatastoreException
public WTConnection getUserConnection() throws DatastoreException
DatastoreException
protected boolean getLobsDisabled()
private static MethodContext getUserContext()
public abstract boolean getBuildMaps()
public abstract String getFullAttrName(String attrName)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |