Changes between Version 17 and Version 18 of FDORfc23
- Timestamp:
- 07/16/08 12:10:09 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FDORfc23
v17 v18 34 34 == Proposed Solution == 35 35 36 The performance gain from using the new !GetSchemaNames, !GetClassNames, and !DescribeClasses commands will be most notable for the RDBMS-based FDO providers. Support for the commands will be indicated by the provider's command capabilities object. Hence, only the RDBMS-based FDO providers will include !FdoCommandType_GetSchemaNames, !FdoCommandType_GetClassNames, and !FdoCommandType_DescribeClasses in the !GetCommands() response when interrogating the provider's capabilities. 37 38 === !GetSchemaNames === 39 36 40 To retrieve the names of the available schemas in a feature source without having to incur the cost of a !DescribeSchema, a new command !GetSchemaNames, will be added to the API. The interface for this command is shown below. 37 41 … … 57 61 }}} 58 62 63 === !GetClassNames === 64 59 65 To retrieve the class names without having to incur the cost of a !DescribeSchema, a new command, !GetClassNames, will be added to the API for obtaining a list of class names for a given schema. If schema is not specified, the list will consist of all classes in the feature source. 60 66 … … 100 106 }; 101 107 }}} 108 109 === !DescribeClasses === 102 110 103 111 To retrieve specific class definitions, a new command !DescribeClasses will be added to the API for obtaining a schema containing the class collection for only the requested classes. If the command has set the schema to retrieve, the classes set by !SetClassNames 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. An exception will be thrown if the schema name specified in both the schema name and qualified class name parameter do not match. … … 175 183 }}} 176 184 177 The performance gain from using the new !GetSchemaNames, !GetClassNames, and !DescribeClasses commands will be most notable for the RDBMS-based FDO providers. Support for the commands will be indicated by the provider's command capabilities object. Hence, only the RDBMS-based FDO providers will include !FdoCommandType_GetSchemaNames, !FdoCommandType_GetClassNames, and !FdoCommandType_DescribeClasses in the !GetCommands() response when interrogating the provider's capabilities.178 179 185 === Discussion of Alternate Approach (but not proposed as part of this RFC) === 180 186