Changes between Version 2 and Version 3 of FDORfc23
- Timestamp:
- 07/08/08 09:09:47 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FDORfc23
v2 v3 34 34 == Proposed Solution == 35 35 36 To retrieve the feature class names without having incur the cost of a !DescribeSchema, a new command, !EnumerateFeatureClasses, will be added to the API for obtaining a list of feature class names for a given schema. If schema is not specified, the list will consist of all feature classes in the feature source.36 To retrieve the feature class names without having to incur the cost of a !DescribeSchema, a new command, !EnumerateFeatureClasses, will be added to the API for obtaining a list of feature class names for a given schema. If schema is not specified, the list will consist of all feature classes in the feature source. 37 37 38 38 {{{ … … 98 98 /// 99 99 /// \return 100 /// Returns nothing100 /// Returns boolean value to indicate if the provider supports specifying class names for this command. 101 101 /// 102 FDO_API virtual voidSetFeatureClassNames(FdoStringCollection* value) = 0;102 FDO_API virtual bool SetFeatureClassNames(FdoStringCollection* value) = 0; 103 103 104 104 }}} … … 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 againstnon-RDBMS FDO providers.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. Additional information will be added to the !GetCapabilities response to allow the providers to indicate its support for the new command. These will default to “false” for all non-RDBMS FDO providers. 109 109 110 Additional information will be added to the !GetCapabilities response to allow the providers to indicate its support for the new command. These will default to “false” for all non-RDBMS FDO providers. 111 112 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. 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. 113 111 114 112 == Implications ==