summaryrefslogtreecommitdiff
path: root/src/mongo/db/index/hash_access_method.h
diff options
context:
space:
mode:
authorBenety Goh <benety@mongodb.com>2014-02-18 14:38:58 -0500
committerBenety Goh <benety@mongodb.com>2014-02-19 06:11:20 -0500
commit16612e609a83ebb06891e220200d4014331701cb (patch)
treec8637c0c12f07fde8748f9bc6d1ec91f771ce89d /src/mongo/db/index/hash_access_method.h
parent85b43895e9f54277d1b9696951fc3e7550477e74 (diff)
downloadmongo-16612e609a83ebb06891e220200d4014331701cb.tar.gz
SERVER-12767 refactored key generation in db/index.
Diffstat (limited to 'src/mongo/db/index/hash_access_method.h')
-rw-r--r--src/mongo/db/index/hash_access_method.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/mongo/db/index/hash_access_method.h b/src/mongo/db/index/hash_access_method.h
index c2b9fa836b6..d0f46620334 100644
--- a/src/mongo/db/index/hash_access_method.h
+++ b/src/mongo/db/index/hash_access_method.h
@@ -53,18 +53,6 @@ namespace mongo {
return Status::OK();
}
- /**
- * Hashing function used by both this class and the cursors we create.
- * Exposed for testing and so mongo/db/index_legacy.cpp can use it.
- */
- static long long int makeSingleKey(const BSONElement& e, HashSeed seed, int v);
-
- /**
- * Exposed externally for testing purposes.
- */
- static void getKeysImpl(const BSONObj& obj, const string& hashedField, HashSeed seed,
- int hashVersion, bool isSparse, BSONObjSet* keys);
-
private:
virtual void getKeys(const BSONObj& obj, BSONObjSet* keys);