Changes between Version 5 and Version 6 of FDORfc23
- Timestamp:
- 07/08/08 15:07:20 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FDORfc23
v5 v6 73 73 /// 74 74 /// \return 75 /// Returns the string collection of the f eature classes for the specified schema.75 /// Returns the string collection of the fully qualified feature class names for the specified schema. 76 76 FDO_API virtual FdoStringCollection* Execute() = 0; 77 77 }; 78 78 }}} 79 79 80 To retrieve specific feature class definitions, the existing !DescribeSchema API will be modified to add the following methods to instruct the !DescibeSchema command to return a schema that contains only the requested classes. 80 To retrieve specific feature class definitions, the existing !DescribeSchema API will be modified to add the following methods to instruct the !DescibeSchema command to return a schema that contains only the requested classes. If the command has set the schema to retrieve, the classes set by !SetFeatureClassNames will be restricted to that schema. If no schema has been set, fully qualified class names should be passed to the !SetFeatureClassNames method. Finally, if the schema has not been set, and class names are not fully qualified, then the result will contain all matching class names. 81 81 82 82 {{{ … … 106 106 The proposed changes will need to be completed for all FDO providers. Generally speaking, response time for a full !DescribeSchema command is not much of an issue for the file-based FDO providers when compared to the response time for the RDBMS-based FDO providers. 107 107 108 The performance gain from using the new !EnumerateFeatureClasses command will be most notable for the RDBMS-based FDO providers. The !EnumerateFeatureClasses command will throw a "Not Implemented" exception when executed against non-RDBMS FDO providers. Support for this command will be indicated by the provider's command capabilities object. Hence, only the RDBMS-based FDO providers will include !FdoCommandType_EnumerateFeatureClasses in the !GetCommands() response. 108 The performance gain from using the new !EnumerateFeatureClasses command will be most notable for the RDBMS-based FDO providers. The !EnumerateFeatureClasses command will throw a "Not Implemented" exception when executed against non-RDBMS FDO providers. Support for this command will be indicated by the provider's command capabilities object. Hence, only the RDBMS-based FDO providers will include !FdoCommandType_EnumerateFeatureClasses in the !GetCommands() response. Providers that do not support this command will have to fall back on using !DescribeSchema and walk through the results to retrieve the class names. 109 109 110 110 The !DescribeSchema command for non-RDBMS FDO providers will return the schema(s) for all the feature classes regardless of the set of classes specified by the !SetFeatureClassNames method. !SetFeatureClassNames will return a boolean to provide feedback to the caller for indicating whether the command supports specifying classes as a criteria when executed against a particular provider.