|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tivoli.twg.engine.TWGDbQueryResults
The TWGDbQueryResults class contains the data that results from a run query command or a create-run query command.
Use getResultSet to obtain the object that contains the row data resulting from the database query.
Constructor Summary | |
---|---|
TWGDbQueryResults()
Default constructor |
|
TWGDbQueryResults(Command cmd)
This constructor is public as an implementation side effect. |
|
TWGDbQueryResults(java.lang.Long qId)
Constructor for TWGDbQueryResults |
Method Summary | |
---|---|
int |
getFormat()
Get the query format. |
int |
getNumOfColumns()
Gets the number of columns in the result set. |
java.lang.Long |
getQueryId()
Get the persistent object id of the query the result set is from. |
TWGDbResultSet |
getResultSet()
Get reference to the TWGDbResultSet object for the query that containts the rows for the query result. |
protected void |
setIntelByteBufferParms(Command cmd)
Method to write out information about the TWGDbQueryResults into buffers and add the buffers into IPC command. |
void |
setQueryFormat(int qf)
Set query format. |
void |
setQueryId(long qId)
Set the persistent object id for the query. |
void |
setQueryId(java.lang.Long qid)
Set the persistent object id for the query. |
void |
setReportResultSet(Vect reportResultSet)
Set the report format result set |
void |
setResultSet(TWGDbResultSet resultSet)
Set the result set for join format queries. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TWGDbQueryResults()
public TWGDbQueryResults(java.lang.Long qId)
qId
- - the persistent object id for the querypublic TWGDbQueryResults(Command cmd) throws TWGDbException
Constructor to create a TWGDbQueryResults from an IPC Command object. The command should have output parms (starting with 0 that contain an intel byte buffer version of a TWGDbQueryResults object)
cmd
- - Command to read buffer(s) from.
TWGDbException
Method Detail |
public void setResultSet(TWGDbResultSet resultSet)
This method should be called only in the Director server engine.
resultSet
- - reference to TWGDbResultSetpublic void setReportResultSet(Vect reportResultSet)
This method should be called only in the Director server engine.
reportResultSet
- - Vect containing list of
result set for report format query.public void setQueryId(java.lang.Long qid)
This method should be called only in the Director server engine.
qid
- - persistent object id for the querypublic void setQueryId(long qId)
This method should be called only in the Director server engine.
public void setQueryFormat(int qf)
This method should be called only in the Director server engine.
qf
- - queryFormatTWGDatabaseQuery
public java.lang.Long getQueryId()
public int getFormat()
TWGDatabaseQuery
public int getNumOfColumns()
public TWGDbResultSet getResultSet() throws TWGDbException
TWGDbException
protected void setIntelByteBufferParms(Command cmd) throws TWGDbException
This method should be called only in the Director server engine.
cmd
- - IPC cmmand
TWGDbException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |