Estimating the Number of Rows in a Query Result

You can retrieve an estimated number of rows in a view object instance's query result by calling getEstimatedRowCount(). This method is much faster than reexecuting the query. The following code gets the estimated row count for a view object instance stored in the variable mgrVO:

long estMgrVOCount = mgrVO.getEstimatedRowCount();


Accessing Data from Clients
About Oracle ADF View Objects
About View Object and View Link Instances
Finding View Object Instances in the Data Model

 

Copyright © 1997, 2004, Oracle. All rights reserved.