summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/canonical_query.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/query/canonical_query.h')
-rw-r--r--src/mongo/db/query/canonical_query.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/mongo/db/query/canonical_query.h b/src/mongo/db/query/canonical_query.h
index cdee7aef60d..b94b310a00d 100644
--- a/src/mongo/db/query/canonical_query.h
+++ b/src/mongo/db/query/canonical_query.h
@@ -46,10 +46,6 @@ class OperationContext;
class CanonicalQuery {
public:
- // A type that encodes the notion of query shape. Essentialy a query's match, projection and
- // sort with the values taken out.
- typedef std::string QueryShapeString;
-
/**
* If parsing succeeds, returns a std::unique_ptr<CanonicalQuery> representing the parsed
* query (which will never be NULL). If parsing fails, returns an error Status.
@@ -129,12 +125,6 @@ public:
}
/**
- * Compute the "shape" of this query by encoding the match, projection and sort, and stripping
- * out the appropriate values.
- */
- QueryShapeString encodeKey() const;
-
- /**
* Sets this CanonicalQuery's collator, and sets the collator on this CanonicalQuery's match
* expression tree.
*