Changes between Version 6 and Version 7 of FDORfc5
- Timestamp:
- 07/27/07 07:51:52 (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FDORfc5
v6 v7 26 26 The purpose of this RFC is to enhance the class ''FdoFunctionDefinition''. This class allows a provider to define a set of supported expression functions. The list of supported expression functions is accessible as part of the expression capabilities that can be retrieved from a connection. 27 27 28 The enhancement will add a new property to the class allowing the specification of the function class a given function belongs to. The valid function types will be defined in an enumeration and initially contain values to indicate aggregate, conversion, date, mathematical, numeric, string and intrinsic functions. The enumeration will also include a value to indicate an unknownfunction class. This function class will represent the default value.28 The enhancement will add a new property to the class allowing the specification of the function class a given function belongs to. The valid function types will be defined in an enumeration and initially contain values to indicate aggregate, conversion, date, mathematical, numeric, string, intrinsic and custom functions. The enumeration will also include a value to indicate an upspecified function class. This function class will represent the default value. 29 29 30 30 The enhancement will allow a consumer of the list of supported expression functions to sort them according to their class. This may help in presenting the functions in a user-defined UI as similar functions can be grouped. The following shows examples of functions grouped according to their corresponding function class: … … 63 63 FdoFunctionClass_Aggregate, 64 64 FdoFunctionClass_Conversion, 65 FdoFunctionClass_Custom, 65 66 FdoFunctionClass_Date, 66 67 FdoFunctionClass_Intrinsic, … … 68 69 FdoFunctionClass_Numeric, 69 70 FdoFunctionClass_String, 70 FdoFunctionClass_Un known71 FdoFunctionClass_Unspecified 71 72 } // enum FdoFunctionClass 72 73 }}} … … 116 117 FdoDataType returnType, 117 118 FdoArgumentDefinitionCollection *arguments, 118 FdoFunctionClass functionClass = FdoFunctionClass_Un known);119 FdoFunctionClass functionClass = FdoFunctionClass_Unspecified); 119 120 120 121 FDO_API static FdoFunctionDefinition *Create (FdoString *name, … … 123 124 FdoDataType returnType, 124 125 FdoArgumentDefinitionCollection *arguments, 125 FdoFunctionClass functionClass = FdoFunctionClass_Un known);126 FdoFunctionClass functionClass = FdoFunctionClass_Unspecified); 126 127 127 128 FDO_API static FdoFunctionDefinition *Create (FdoString *name, … … 129 130 bool isAggregate, 130 131 FdoSignatureDefinitionCollection *signatures, 131 FdoFunctionClass functionClass = FdoFunctionClass_Un known);132 FdoFunctionClass functionClass = FdoFunctionClass_Unspecified); 132 133 ... 133 134