Changes between Version 2 and Version 3 of FDORfc41


Ignore:
Timestamp:
Aug 20, 2009, 5:12:20 PM (15 years ago)
Author:
leaf
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FDORfc41

    v2 v3  
    3333The FdoISQLCommand and FdoIBaseSelect interfaces will also be extended to add the following two new methods to get/set fetch size. Because fetch size is a performance tuning parameter and does not alter how feature readers and data readers return data to the caller. So it isn’t added as a new command capability. If one FDO provider doesn’t support fetch size, nothing will happen.
    3434
     35{{{
     36    /// \brief
     37    /// Gets the fetch size of the data set when executing query against
     38    /// the underlying data store. This parameter is typically set in
     39    /// situations where large amount of data are expected when a query
     40    /// is executed and providers need to minimize the number of returned data.
     41    /// For example, fetch 100 rows in one execution step.
     42    ///
     43    /// \return
     44    /// Returns the fetch size.
     45    ///
     46    FDO_API virtual FdoInt32 GetFetchSize() = 0;
     47 
     48    /// \brief 
     49    /// Sets the fetch size of the data set when executing query against
     50    /// the underlying data store. This parameter is typically set in
     51    /// situations where large amount of data are expected when a query
     52    /// is executed and providers need to minimize the number of returned data.
     53    /// For example, fetch 100 rows in one execution step.
     54    ///
     55    /// \param value
     56    /// Input the fetch size.
     57    ///
     58    /// \return
     59    /// Returns nothing.
     60    ///   
     61    FDO_API virtual void SetFetchSize(FdoInt32 fetchSize) = 0;
     62}}}
     63
    3564== Managed FDO API ==
    3665