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

Implement ExpressionEncStrEndsWith ($encStrEndsWith) query API

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Query Integration
    • Fully Compatible
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      As part of this ticket, implement the aggregation expression for $encStrEndsWith.

      As outlined in the design , ExpressionEncStrEndsWith will inherit from the base class, ExpressionEncTextSearch. 

      This goal of this task :

      • Implement the minimal requirements to allow the expression to be parsed by query analysis and the server rewrites
        • Implement parse & serialize.
        • Implement type checking/constraint checking when parsing the operands.

       

      class ExpressionEncStrEndsWith : public ExpressionEncTextSearch {
      public:    
      Value evaluate(...) const final;    
      Value serialize(...) const final;    
      const char* getOpName() const;
      static boost::intrusive_ptr<Expression> parse(...);
      
      void acceptVisitor(ExpressionMutableVisitor* visitor) final;
      void acceptVisitor(ExpressionConstVisitor* visitor) const final;
      }; 

            Assignee:
            santiago.roche@mongodb.com Santiago Roche
            Reporter:
            santiago.roche@mongodb.com Santiago Roche
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              None
              None
              None
              None