Changes between Version 5 and Version 6 of FDORfc5


Ignore:
Timestamp:
Jul 17, 2007, 2:51:47 PM (17 years ago)
Author:
thomasknoell
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FDORfc5

    v5 v6  
    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 and string 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 and intrinsic functions. The enumeration will also include a value to indicate an unknown 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:
     
    4848''Concat'', ''Instr'', ''Lower'', ''Lpad'', ''Ltrim'', ''Upper''
    4949
     50INTRINSIC::
     51''Area'', ''Length''
     52
    5053
    5154The function class will be set via the currently available interfaces (''create'' method). To allow this the interfaces will be enhanced with an optional function class parameter which will be set to the default value.
     
    6164                 FdoFunctionClass_Conversion,
    6265                 FdoFunctionClass_Date,
     66                 FdoFunctionClass_Intrinsic,
    6367                 FdoFunctionClass_Math,
    6468                 FdoFunctionClass_Numeric,