|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.ontopia.persistence.query.sql.RDBMSQueryResult
public class RDBMSQueryResult
INTERNAL: QueryResultIF implementation that wraps a ResultSet.
| Field Summary | |
|---|---|
protected boolean |
lookup_identities
|
protected ResultSet |
rs
|
protected SQLStatementIF |
stm
|
protected TicketIF |
ticket
|
| Constructor Summary | |
|---|---|
RDBMSQueryResult(SQLStatementIF stm,
TicketIF ticket,
ResultSet rs)
|
|
RDBMSQueryResult(SQLStatementIF stm,
TicketIF ticket,
ResultSet rs,
boolean lookup_identities)
|
|
| Method Summary | |
|---|---|
void |
close()
INTERNAL: Closes the query result, which allows it to free its resources. |
protected void |
finalize()
|
String |
getColumnName(int ix)
PUBLIC: Returns the name of the given column. |
String[] |
getColumnNames()
PUBLIC: Returns the names of the columns. |
Object |
getValue(int index)
INTERNAL: Get the value of the field with the specified index from the current result row. |
Object[] |
getValues()
INTERNAL: Get the values of all fields from the current result row. |
Object[] |
getValues(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 ResultSet rs
protected boolean lookup_identities
| Constructor Detail |
|---|
public RDBMSQueryResult(SQLStatementIF stm,
TicketIF ticket,
ResultSet rs)
public RDBMSQueryResult(SQLStatementIF stm,
TicketIF ticket,
ResultSet rs,
boolean lookup_identities)
| Method Detail |
|---|
public int getWidth()
QueryResultIF
getWidth in interface QueryResultIFpublic String[] getColumnNames()
QueryResultIF
getColumnNames in interface QueryResultIFpublic String getColumnName(int ix)
QueryResultIF
getColumnName in interface QueryResultIFpublic Object getValue(int index)
QueryResultIF
getValue in interface QueryResultIFpublic Object[] getValues()
QueryResultIF
getValues in interface QueryResultIFpublic Object[] getValues(Object[] values)
QueryResultIF
getValues in interface QueryResultIFpublic boolean next()
QueryResultIF
next in interface QueryResultIFpublic void close()
QueryResultIF
close in interface QueryResultIF
protected void finalize()
throws Throwable
finalize in class ObjectThrowable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||