Changes between Version 6 and Version 7 of FDORfc5


Ignore:
Timestamp:
07/27/07 07:51:52 (17 years ago)
Author:
thomasknoell
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FDORfc5

    v6 v7  
    2626The 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.
    2727
    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 unknown function class. This function class will represent the default value.
     28The 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.
    2929
    3030The 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:
     
    6363                 FdoFunctionClass_Aggregate,
    6464                 FdoFunctionClass_Conversion,
     65                 FdoFunctionClass_Custom,
    6566                 FdoFunctionClass_Date,
    6667                 FdoFunctionClass_Intrinsic,
     
    6869                 FdoFunctionClass_Numeric,
    6970                 FdoFunctionClass_String,
    70                  FdoFunctionClass_Unknown
     71                 FdoFunctionClass_Unspecified
    7172}  //  enum FdoFunctionClass
    7273}}}
     
    116117                                                      FdoDataType                     returnType,
    117118                                                      FdoArgumentDefinitionCollection *arguments,
    118                                                       FdoFunctionClass                functionClass = FdoFunctionClass_Unknown);
     119                                                      FdoFunctionClass                functionClass = FdoFunctionClass_Unspecified);
    119120
    120121        FDO_API static FdoFunctionDefinition *Create (FdoString                       *name,
     
    123124                                                      FdoDataType                     returnType,
    124125                                                      FdoArgumentDefinitionCollection *arguments,
    125                                                       FdoFunctionClass                functionClass = FdoFunctionClass_Unknown);
     126                                                      FdoFunctionClass                functionClass = FdoFunctionClass_Unspecified);
    126127
    127128        FDO_API static FdoFunctionDefinition *Create (FdoString                        *name,
     
    129130                                                      bool                             isAggregate,
    130131                                                      FdoSignatureDefinitionCollection *signatures,
    131                                                       FdoFunctionClass                 functionClass = FdoFunctionClass_Unknown);
     132                                                      FdoFunctionClass                 functionClass = FdoFunctionClass_Unspecified);
    132133...
    133134