|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.neoworks.jukex.query.AttributeValueResultSet
This class represents the results of an Attribute query. It is meant to work using a subset of the result API. All indexes in this class are 1 based to be consistent with the ResultSet/RowSet interfaces, although I believe this to be a moronic way of doing things.
Method Summary | |
void |
beforeFirst()
Move the current row to be before the first row. |
AttributeValue |
getAttributeValue(int index)
Get the attribute value with the specified index from the current row |
AttributeValue |
getAttributeValue(java.lang.String colname)
Return an AttributeValue object for the column with the specified Attribute name |
int |
getColumnCount()
Return the number of columns present in this query |
int |
getInt(int index)
Return the integer representation of the column at the given index |
int |
getInt(java.lang.String colname)
Return the integer representation of the column with the given name |
java.lang.String |
getString(int index)
Return the String represntation of the column at the given index |
java.lang.String |
getString(java.lang.String colname)
Return the String representation of the column with the given name |
long |
getTrackId()
Return the ID of the Track referred to by the current row |
boolean |
next()
Move to the next row in the result set |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public AttributeValue getAttributeValue(int index) throws java.sql.SQLException
index
- The index of the AttributeValue to retrieve
java.sql.SQLException
public AttributeValue getAttributeValue(java.lang.String colname) throws java.sql.SQLException
colname
- The name of the column. This is the name of the Attribute.
java.sql.SQLException
public java.lang.String getString(int index) throws java.sql.SQLException
index
- The index of the column
java.sql.SQLException
public int getInt(int index) throws java.sql.SQLException
index
- The index of the column
java.sql.SQLException
public java.lang.String getString(java.lang.String colname) throws java.sql.SQLException
colname
- The name of the column
java.sql.SQLException
public int getInt(java.lang.String colname) throws java.sql.SQLException
colname
- The name of the column
java.sql.SQLException
public long getTrackId() throws java.sql.SQLException
java.sql.SQLException
public boolean next() throws java.sql.SQLException
true
if there is a next row, false
otherwise.
java.sql.SQLException
public void beforeFirst() throws java.sql.SQLException
java.sql.SQLException
public int getColumnCount()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |