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

Convert ExpressionWithPlaceholder into a MatchExpression

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Needs Scheduling
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: Querying
    • Labels:
      None

      Description

      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;

        Attachments

          Activity

            People

            Assignee:
            jacob.evans Jacob Evans
            Reporter:
            timour.katchaounov Timour Katchaounov
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: