|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
PersistentRetrieveIfc specifies persistence interfaces to retrieve java types from persistent storage.
Field Summary | |
static String |
versionID
|
Method Summary | |
void |
close()
Immediately release a ResultSet's datastore and connection resources |
InputStream |
getAsciiStream(String attributeName)
Get the value of a column in the current row as a stream of ASCII characters. |
BigDecimal |
getBigDecimal(String attributeName)
Get the value of a column in the current row as a BigDecimal |
InputStream |
getBinaryStream(String attributeName)
Get the value of a column in the current row as a stream of uninterpreted bytes. |
boolean |
getBoolean(String attributeName)
Get the value of a column in the current row as a Java boolean. |
Boolean |
getBooleanObject(String attributeName)
Get the value of a column in the current row as a Boolean. |
byte |
getByte(String attributeName)
Get the value of a column in the current row as a Java byte. |
Byte |
getByteObject(String attributeName)
Get the value of a column in the current row as a Byte. |
byte[] |
getBytes(String attributeName)
Get the value of a column in the current row as a Java byte array. |
char |
getChar(String attributeName)
Get the value of a column in the current row as a Java char. |
Character |
getCharObject(String attributeName)
Get the value of a column in the current row as a Character. |
String |
getContainer()
Get the current container name. |
Date |
getDate(String attributeName)
Get the value of a column in the current row as a java.sql.Date object. |
double |
getDouble(String attributeName)
Get the value of a column in the current row as a Java double. |
Double |
getDoubleObject(String attributeName)
Get the value of a column in the current row as a Double. |
float |
getFloat(String attributeName)
Get the value of a column in the current row as a Java float. |
Float |
getFloatObject(String attributeName)
Get the value of a column in the current row as a Float. |
Object |
getInlineObject(String attributeName,
String blobAttributeName)
Get the value of a blob column as a Java Object. |
int |
getInt(String attributeName)
Get the value of a column in the current row as a Java int. |
Integer |
getIntObject(String attributeName)
Get the value of a column in the current row as an Integer. |
LobLocator |
getLobLocator(String attributeName)
Get a LobLocator for the given attribute. |
long |
getLong(String attributeName)
Get the value of a column in the current row as a Java long. |
Long |
getLongObject(String attributeName)
Get the value of a column in the current row as a Long. |
Object |
getObject(String attributeName)
Get the value of a column in the current row as a Java object. |
short |
getShort(String attributeName)
Get the value of a column in the current row as a Java short. |
Short |
getShortObject(String attributeName)
Get the value of a column in the current row as a Short. |
Object |
getSmallObject(String attributeName)
Get the value of a column in the current row as a Java object. |
String |
getString(String attributeName)
Get the value of a column in the current row as a Java String. |
Time |
getTime(String attributeName)
Get the value of a column in the current row as a java.sql.Time object. |
Timestamp |
getTimestamp(String attributeName)
Get the value of a column in the current row as a java.sql.Timestamp object. |
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. |
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. |
ObjectMappable |
readObject(String attribute_name,
ObjectMappable obj,
Class concrete_class,
boolean isRequired)
Get the values corresponding to a nested ObjectMappable Object. |
boolean |
wasNull()
A column may have the value of SQL NULL; wasNull reports whether the last column read had this special value. |
Field Detail |
public static final String versionID
Method Detail |
public InputStream getAsciiStream(String attributeName) throws SQLException
attributeName
- a class attribute name
SQLException
- if a database-access error occurs.public BigDecimal getBigDecimal(String attributeName) throws SQLException
attributeName
- a class attribute name
SQLException
- if a database-access error occurs.public InputStream getBinaryStream(String attributeName) throws SQLException
attributeName
- a class attribute name
SQLException
- if a database-access error occurs.public boolean getBoolean(String attributeName) throws SQLException
attributeName
- a class attribute name
SQLException
- if a database-access error occurs.public Boolean getBooleanObject(String attributeName) throws SQLException
attributeName
- a class attribute name
SQLException
- if a database-access error occurs.public byte getByte(String attributeName) throws SQLException
attributeName
- a class attribute name
SQLException
- if a database-access error occurs.public Byte getByteObject(String attributeName) throws SQLException
attributeName
- a class attribute name
SQLException
- if a database-access error occurs.public byte[] getBytes(String attributeName) throws SQLException, DatastoreException
attributeName
- a class attribute name
SQLException
- if a database-access error occurs.
DatastoreException
public char getChar(String attributeName) throws SQLException
attributeName
- a class attribute name
SQLException
- if a database-access error occurs.public Character getCharObject(String attributeName) throws SQLException
attributeName
- a class attribute name
SQLException
- if a database-access error occurs.public Date getDate(String attributeName) throws SQLException
attributeName
- a class attribute name
SQLException
- if a database-access error occurs.public double getDouble(String attributeName) throws SQLException
attributeName
- a class attribute name
SQLException
- if a database-access error occurs.public Double getDoubleObject(String attributeName) throws SQLException
attributeName
- a class attribute name
SQLException
- if a database-access error occurs.public float getFloat(String attributeName) throws SQLException
attributeName
- a class attribute name
SQLException
- if a database-access error occurs.public Float getFloatObject(String attributeName) throws SQLException
attributeName
- a class attribute name
SQLException
- if a database-access error occurs.public Object getInlineObject(String attributeName, String blobAttributeName) throws SQLException, DatastoreException
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 int getInt(String attributeName) throws SQLException
attributeName
- a class attribute name
SQLException
- if a database-access error occurs.public Integer getIntObject(String attributeName) throws SQLException
attributeName
- a class attribute name
SQLException
- if a database-access error occurs.public long getLong(String attributeName) throws SQLException
attributeName
- a class attribute name
SQLException
- if a database-access error occurs.public Long getLongObject(String attributeName) throws SQLException
attributeName
- a class attribute name
SQLException
- if a database-access error occurs.public Object getObject(String attributeName) throws SQLException, DatastoreException
attributeName
- a class attribute name
SQLException
- if a database-access error occurs.
DatastoreException
public Object getSmallObject(String attributeName) throws SQLException, DatastoreException
attributeName
- a class attribute name
SQLException
- if a database-access error occurs.
DatastoreException
public short getShort(String attributeName) throws SQLException
attributeName
- a class attribute name
SQLException
- if a database-access error occurs.public Short getShortObject(String attributeName) throws SQLException
attributeName
- a class attribute name
SQLException
- if a database-access error occurs.public String getString(String attributeName) throws SQLException
attributeName
- a class attribute name
SQLException
- if a database-access error occurs.public Time getTime(String attributeName) throws SQLException
attributeName
- a class attribute name
SQLException
- if a database-access error occurs.public Timestamp getTimestamp(String attributeName) throws SQLException
attributeName
- a class attribute name
SQLException
- if a database-access error occurs.public InputStream getUnicodeStream(String attributeName) throws SQLException
attributeName
- a class attribute name
SQLException
- if a database-access error occurs.public LobLocator getLobLocator(String attributeName) throws SQLException, DatastoreException
attributeName
- a class attribute name
SQLException
- if a database-access error occurs.
DatastoreException
public ObjectMappable readObject(String attribute_name, ObjectMappable obj, Class concrete_class, boolean isRequired) throws SQLException, DatastoreException
readExternal
method.
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 String getContainer()
readObject
.
public boolean next() throws SQLException
SQLException
- if a database-access error occurs.public void close() throws SQLException
SQLException
- if a database-access error occurs.public boolean wasNull() throws SQLException
SQLException
- if a database-access error occurs.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |