|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.reuters.rc.db.adb.AdbRequestStmt
This class represents a request statement sent to ADB. Each instance of this class is immutable - instances can be freely shared among threads.
AdbRequest
Constructor Summary | |
AdbRequestStmt(java.lang.String sql)
Constructor. |
|
AdbRequestStmt(java.lang.String sql,
DbRequestBind bind)
Constructor. |
|
AdbRequestStmt(java.lang.String sql,
DbRequestBind[] binds)
Constructor. |
|
AdbRequestStmt(java.lang.String sql,
DbRequestBind[] binds,
int maxRows)
Constructor. |
|
AdbRequestStmt(java.lang.String sql,
DbRequestBind bind,
int maxRows)
Constructor. |
|
AdbRequestStmt(java.lang.String sql,
int maxRows)
Constructor. |
Method Summary | |
int |
getMaxRows()
Get the maximum number of result rows returned from request. |
java.lang.String |
getSql()
Get the sql statement. |
com.tibco.tibrv.TibrvMsg |
getStmt()
Build request message. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AdbRequestStmt(java.lang.String sql)
sql
- The SQL statement to execute on the ADB.public AdbRequestStmt(java.lang.String sql, int maxRows)
sql
- The SQL statement to execute on the ADB.maxRows
- Maximum number of result rows returned from request.getMaxRows()
,
AdbRequestBind
public AdbRequestStmt(java.lang.String sql, DbRequestBind bind)
sql
- The SQL statement to execute on the ADB.bind
- Bind data.AdbRequestBind
public AdbRequestStmt(java.lang.String sql, DbRequestBind bind, int maxRows)
sql
- The SQL statement to execute on the ADB.bind
- Bind data.maxRows
- Maximum number of result rows returned from request.getMaxRows()
,
AdbRequestBind
public AdbRequestStmt(java.lang.String sql, DbRequestBind[] binds)
sql
- The SQL statement to execute on the ADB.binds
- Bind data.AdbRequestBind
public AdbRequestStmt(java.lang.String sql, DbRequestBind[] binds, int maxRows)
sql
- The SQL statement to execute on the ADB.binds
- Bind data.maxRows
- Maximum number of result rows returned from request.getMaxRows()
,
AdbRequestBind
Method Detail |
public final java.lang.String getSql()
getSql
in interface DbRequestStmt
public final int getMaxRows()
getMaxRows
in interface DbRequestStmt
AdbRequest.sendRequest(TibrvTransport, String)
public final com.tibco.tibrv.TibrvMsg getStmt() throws AdbBusinessException, AdbSystemException
getStmt
in interface DbRequestStmt
TibrvMsg
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |