Changes between Version 4 and Version 5 of FDORfc5


Ignore:
Timestamp:
Jul 17, 2007, 1:05:29 PM (17 years ago)
Author:
thomasknoell
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FDORfc5

    v4 v5  
    2424== Overview ==
    2525
    26 The purpose of this RFC is to add a new property to the class ''FdoFunctionDefinition'' 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.
     26The 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 following shows examples of functions listed with their corresponding function class:
     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 and string functions. The enumeration will also include a value to indicate an unknown function class. This function class will represent the default value.
     29
     30The 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:
    2931
    3032AGGREGATE::
     
    4648''Concat'', ''Instr'', ''Lower'', ''Lpad'', ''Ltrim'', ''Upper''
    4749
     50
    4851The 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.
     52
    4953
    5054== Proposed Solution ==
     
    135139== Implications ==
    136140
    137 This change will not cause any side-effects, nor any compatibility problems.
     141This change will not cause any side-effects, nor any compatibility problems. No existing provider needs to change unless the provider wants to use the new feature.
    138142
    139143== Test Plan ==