|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The DB reply interface that abstracts out a clients interaction with any ADB-like server.
Method Summary | |
java.lang.Object |
getClosure()
Get the closure argument. |
java.lang.String |
getError()
Get a description of the error. |
com.tibco.tibrv.TibrvMsg |
getResultRow(int index)
Get a row from the first result set. |
com.tibco.tibrv.TibrvMsg |
getResultRow(int resultSet,
int index)
Get a row from the specified result set. |
int |
getResultRowCount()
Get the number of rows in the first result set. |
int |
getResultRowCount(int resultSet)
Get the number of rows in the specified result set. |
int |
getResultSetCount()
Get the number of result sets. |
java.lang.String |
getSql()
Get the sql that caused the error. |
int |
getStatus()
Get the reply status. |
boolean |
isValid()
Check if the object contains a valid result set. |
java.lang.String |
toPrettyPrintString()
Pretty Print the reply message. |
Method Detail |
public boolean isValid()
true
if the object contains a valid
result set. Returns false
if the object does
not contain a valid result set.getStatus()
public java.lang.String toPrettyPrintString() throws DbBusinessException, DbSystemException
public int getStatus() throws DbBusinessException, DbSystemException
0
indicates success. A non-zero status
indicates ADB error.getError()
public java.lang.String getSql() throws DbBusinessException, DbSystemException
null
is
returned if there is no error.getStatus()
,
isValid()
,
getError()
public java.lang.String getError() throws DbBusinessException, DbSystemException
getStatus()
,
getSql()
public java.lang.Object getClosure() throws DbBusinessException, DbSystemException
TibrvException
is thrown if
there is no closure.public int getResultSetCount() throws DbBusinessException, DbSystemException
public int getResultRowCount() throws DbBusinessException, DbSystemException
getResultSetCount()
public int getResultRowCount(int resultSet) throws DbBusinessException, DbSystemException
resultSet
- Result set number starting at 1
.getResultSetCount()
public com.tibco.tibrv.TibrvMsg getResultRow(int index) throws DbBusinessException, DbSystemException
index
- Result set row number. Row numbers start at 0
.null
is
returned if the requested row is not found in the first result set.TibrvMsg
public com.tibco.tibrv.TibrvMsg getResultRow(int resultSet, int index) throws DbBusinessException, DbSystemException
1
.resultSet
- Result set number. Result set numbers start at 1
.index
- Result set row number. Row numbers start at 0
.null
is
returned if the requested row is not found in the specified result set.getResultSetCount()
,
TibrvMsg
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |