|
||||||||||
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 QueryResultIF
public String[] getColumnNames()
QueryResultIF
getColumnNames
in interface QueryResultIF
public String getColumnName(int ix)
QueryResultIF
getColumnName
in interface QueryResultIF
public Object getValue(int index)
QueryResultIF
getValue
in interface QueryResultIF
public Object[] getValues()
QueryResultIF
getValues
in interface QueryResultIF
public Object[] getValues(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 Throwable
finalize
in class Object
Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |