Refactor LiteParsedQuery and CanonicalQuery::canonicalize()

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • 3.3.6
    • Affects Version/s: None
    • Component/s: Querying
    • None
    • Fully Compatible
    • Query 14 (05/13/16)
    • 0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Make the following changes to the LiteParsedQuery interface:

      Expose LiteParsedQuery(NamespaceString nss) and validate().
      Delete makeAsOpQuery() and makeAsFindCmd().
      Create setters and getters for all members.

      Additionally, remove all overloads of CanonicalQuery::canonicalize() except:
      canonicalize(const QueryMessage&, const ExtensionsCallback&),
      canonicalize(LiteParsedQuery*, const ExtenstionsCallback&), and
      canonicalize(const CanonicalQuery&, MatchExpression* root, const ExtensionsCallback&).
      Callers of all other overloads should construct a LiteParsedQuery.

            Assignee:
            Tess Avitabile (Inactive)
            Reporter:
            Tess Avitabile (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: