com.reuters.rc.db
Interface DbRequestStmt

All Known Implementing Classes:
AdbRequestStmt

public interface DbRequestStmt

The DB request statement interface.

Author:
Jawaid Hakim, Cavit Aydin (converted to an interface)

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.
 

Method Detail

getSql

public java.lang.String getSql()
Get the sql statement.
Returns:
Sql statement.

getMaxRows

public int getMaxRows()
Get the maximum number of result rows returned from request. The default maxRows is set to DEFAULT_MAXROWS which implies no constraints on the result set size.
Returns:
maxRows Maximum number of result rows returned from request.
See Also:
DbRequest.sendRequest(TibrvTransport, String)

getStmt

public com.tibco.tibrv.TibrvMsg getStmt()
                                 throws DbBusinessException,
                                        DbSystemException
Build request message.
Returns:
Request message.
See Also:
TibrvMsg


Copyright © 2002-2003 Reuters. All Rights Reserved.