[SERVER-19105] Create macros to register DocumentSources and Accumulators Created: 24/Jun/15  Updated: 05/Feb/16  Resolved: 13/Jul/15

Status: Closed
Project: Core Server
Component/s: Aggregation Framework, Internal Code
Affects Version/s: 3.1.4
Fix Version/s: 3.1.6

Type: Improvement Priority: Major - P3
Reporter: Charlie Swanson Assignee: Charlie Swanson
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Quint Iteration 5, Quint Iteration 6
Participants:

 Description   

Expressions have a nice REGISTER_EXPRESSION macro which is used to determine which parsing function to call based on the name of the expression. We should define similar macros for DocumentSources and Accumulators. These should be defined in the header files so that they can be registered from separate modules. The REGISTER_EXPRESSION macro should also be moved to the header file.



 Comments   
Comment by Githook User [ 13/Jul/15 ]

Author:

{u'username': u'cswanson310', u'name': u'Charlie Swanson', u'email': u'charlie.swanson@mongodb.com'}

Message: SERVER-19105 Add macro to register Accumulators, move REGISTER_EXPRESSION to header
Branch: master
https://github.com/mongodb/mongo/commit/1527a67262baf2d80776f86d4af0e42d53aa3eec

Comment by Githook User [ 08/Jul/15 ]

Author:

{u'username': u'cswanson310', u'name': u'Charlie Swanson', u'email': u'charlie.swanson@mongodb.com'}

Message: SERVER-19105 Remove now unused names of DocumentSources from header file
Branch: master
https://github.com/mongodb/mongo/commit/1913834c30886d3bebc7a8edbaf7dc1279aa2923

Comment by Githook User [ 24/Jun/15 ]

Author:

{u'username': u'cswanson310', u'name': u'Charlie Swanson', u'email': u'cswanson310@gmail.com'}

Message: SERVER-19105 Define macro for registering DocumentSources
Branch: master
https://github.com/mongodb/mongo/commit/0e9371dbed499f6f2ab5066fffdc746747351c6d

Generated at Thu Feb 08 03:49:50 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.