Changes between Version 1 and Version 2 of MapGuideRfc84
- Timestamp:
- 09/07/09 23:36:03 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MapGuideRfc84
v1 v2 8 8 ||RFC Template Version||(1.0)|| 9 9 ||Submission Date||August 14, 2009|| 10 ||Last Modified||(Leaf Li) (Fri Aug 14 09:46:19 2009)||11 ||Author||( Klain Qin)||10 ||Last Modified||(Leaf Li) [[Timestamp]]|| 11 ||Author||(Leaf Li)|| 12 12 ||RFC Status||Draft|| 13 13 ||Implementation Status||(pending)|| … … 30 30 == Proposed Solution == 31 31 32 The following two methods will be added to class MgFeatureService to allow users to set fetch size for a FdoISelect and FdoISelectAggregate command.32 The following two methods will be added to class !MgFeatureService to allow users to set fetch size for a FdoISelect and FdoISelectAggregate command. 33 33 34 34 {{{ … … 60 60 /// features. 61 61 /// 62 virtual MgFeatureReader* SelectFeatures( MgResourceIdentifier* resource, 63 CREFSTRING className, 64 MgFeatureQueryOptions* options, 65 CREFSTRING coordinateSystem, 66 INT32 fetchSize ) = 0; 62 virtual MgFeatureReader* SelectFeatures( 63 MgResourceIdentifier* resource, 64 CREFSTRING className, 65 MgFeatureQueryOptions* options, 66 CREFSTRING coordinateSystem, 67 INT32 fetchSize ) = 0; 67 68 68 69 /// \brief … … 89 90 /// Returns an MgDataReader containing the group values. 90 91 /// 91 virtual MgDataReader* SelectAggregate( MgResourceIdentifier* resource, 92 CREFSTRING className, 93 MgFeatureAggregateOptions* options, 94 INT32 fetchSize) = 0; 92 virtual MgDataReader* SelectAggregate( 93 MgResourceIdentifier* resource, 94 CREFSTRING className, 95 MgFeatureAggregateOptions* options, 96 INT32 fetchSize) = 0; 95 97 }}} 96 98 97 The following two methods in MgFeatureService will be extended to add one argument fetchSize to allow callers to set fetch size for a SQL query.99 The following two methods in !MgFeatureService will be extended to add one argument fetchSize to allow callers to set fetch size for a SQL query. 98 100 99 101 {{{ … … 116 118 /// Returns an MgSqlDataReader instance (or NULL). 117 119 /// 118 virtual MgSqlDataReader* ExecuteSqlQuery( MgResourceIdentifier* resource, 119 CREFSTRING sqlStatement, 120 MgParameterCollection* params, 121 INT32 fetchSize ) = 0; 120 virtual MgSqlDataReader* ExecuteSqlQuery( 121 MgResourceIdentifier* resource, 122 CREFSTRING sqlStatement, 123 MgParameterCollection* params, 124 INT32 fetchSize ) = 0; 122 125 123 126 /////////////////////////////////////////////////////// … … 140 143 /// instances (rows) have been affected. 141 144 /// 142 virtual INT32 ExecuteSqlNonQuery( MgResourceIdentifier* resource, 143 CREFSTRING sqlNonSelectStatement, 144 MgParameterCollection* params, 145 INT32 fetchSize ) = 0; 145 virtual INT32 ExecuteSqlNonQuery( 146 MgResourceIdentifier* resource, 147 CREFSTRING sqlNonSelectStatement, 148 MgParameterCollection* params, 149 INT32 fetchSize ) = 0; 146 150 }}} 147 151