|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.hp.ucmdb.discovery.library.clients.query.ResultSet com.hp.ucmdb.discovery.library.clients.query.QueryResultSet
public class QueryResultSet
QueryResultSet
represents the results of a query on a non-database client,
like WmiClient, SNMPClient, and others.
The data is accessed by column index. Methods that get data by column name are not
implemented in QueryResultSet
.
ResultSet
Constructor Summary | |
---|---|
QueryResultSet(DynamicParserTable table,
QueryClient client)
|
Method Summary | |
---|---|
java.lang.String |
asString()
|
java.lang.String[][] |
asTable()
Returns the entire result set as a two-dimensional array. |
void |
close()
Closes the result set. |
java.lang.String |
toString()
Returns the entire result set as a string. |
java.lang.String |
toXml()
Returns the entire result set as an XML string. |
Methods inherited from class com.hp.ucmdb.discovery.library.clients.query.ResultSet |
---|
first, getBoolean, getBoolean, getDate, getDate, getDouble, getDouble, getFloat, getFloat, getInt, getInt, getLong, getLong, getString, getString, getTimestamp, getTimestamp, next |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public QueryResultSet(DynamicParserTable table, QueryClient client)
Method Detail |
---|
public void close() throws java.lang.Exception
Caution: When working with a database you must call close when finished processing the record set.
close
in class ResultSet
java.lang.Exception
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toXml()
public java.lang.String[][] asTable()
asTable
in class ResultSet
public java.lang.String asString() throws java.lang.Exception
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |