|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.ontopia.persistence.query.sql.RDBMSQueryResult
public class RDBMSQueryResult
INTERNAL: QueryResultIF implementation that wraps a ResultSet.
Field Summary | |
---|---|
protected boolean |
lookup_identities
|
protected java.sql.ResultSet |
rs
|
protected SQLStatementIF |
stm
|
protected TicketIF |
ticket
|
Constructor Summary | |
---|---|
RDBMSQueryResult(SQLStatementIF stm,
TicketIF ticket,
java.sql.ResultSet rs)
|
|
RDBMSQueryResult(SQLStatementIF stm,
TicketIF ticket,
java.sql.ResultSet rs,
boolean lookup_identities)
|
Method Summary | |
---|---|
void |
close()
INTERNAL: Closes the query result, which allows it to free its resources. |
protected void |
finalize()
|
java.lang.String |
getColumnName(int ix)
PUBLIC: Returns the name of the given column. |
java.lang.String[] |
getColumnNames()
PUBLIC: Returns the names of the columns. |
java.lang.Object |
getValue(int index)
INTERNAL: Get the value of the field with the specified index from the current result row. |
java.lang.Object[] |
getValues()
INTERNAL: Get the values of all fields from the current result row. |
java.lang.Object[] |
getValues(java.lang.Object[] values)
INTERNAL: Reads the values of all fields from the current result row into the specified array. |
int |
getWidth()
INTERNAL: Returns the number of fields that each row in the query result set have. |
boolean |
next()
INTERNAL: Skip to the next row in the query result set. |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected SQLStatementIF stm
protected TicketIF ticket
protected java.sql.ResultSet rs
protected boolean lookup_identities
Constructor Detail |
---|
public RDBMSQueryResult(SQLStatementIF stm, TicketIF ticket, java.sql.ResultSet rs)
public RDBMSQueryResult(SQLStatementIF stm, TicketIF ticket, java.sql.ResultSet rs, boolean lookup_identities)
Method Detail |
---|
public int getWidth()
QueryResultIF
getWidth
in interface QueryResultIF
public java.lang.String[] getColumnNames()
QueryResultIF
getColumnNames
in interface QueryResultIF
public java.lang.String getColumnName(int ix)
QueryResultIF
getColumnName
in interface QueryResultIF
public java.lang.Object getValue(int index)
QueryResultIF
getValue
in interface QueryResultIF
public java.lang.Object[] getValues()
QueryResultIF
getValues
in interface QueryResultIF
public java.lang.Object[] getValues(java.lang.Object[] values)
QueryResultIF
getValues
in interface QueryResultIF
public boolean next()
QueryResultIF
next
in interface QueryResultIF
public void close()
QueryResultIF
close
in interface QueryResultIF
protected void finalize() throws java.lang.Throwable
finalize
in class java.lang.Object
java.lang.Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |