Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-59892

Convert ExpressionWithPlaceholder into a MatchExpression

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Querying
    • Labels:
    • Query Optimization

      Class ExpressionWithPlaceholder is a pair of a MatchExpression, and a string. This is very unfortunate as it prevents this class from being processed as part of a MatchExpression tree.

      Specifically this makes it very hard to implement common storage for the children of all MatchExpression classes, which in turn prevents the implementation of SERVER-54740.

      This task should implement ExpressionWithPlaceholder as a subclass of MatchExpression with a single class member - boost::optional<std::string> _placeholder;

            Assignee:
            backlog-query-optimization [DO NOT USE] Backlog - Query Optimization
            Reporter:
            timour.katchaounov@mongodb.com Timour Katchaounov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: