[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: |
| 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: |
| Comment by Githook User [ 24/Jun/15 ] |
|
Author: {u'username': u'cswanson310', u'name': u'Charlie Swanson', u'email': u'cswanson310@gmail.com'}Message: |