summaryrefslogtreecommitdiff
path: root/src/mongo/db/index/s2_access_method.h
diff options
context:
space:
mode:
authorTess Avitabile <tess.avitabile@mongodb.com>2016-03-24 13:54:25 -0400
committerTess Avitabile <tess.avitabile@mongodb.com>2016-05-02 10:23:51 -0400
commit1c5be329f5e3903d5cd4e9d106022733507b5e3f (patch)
tree14fb8dc680efd0dac4fe4967a98e692c121852c5 /src/mongo/db/index/s2_access_method.h
parentef7e7261f934d2b29c9a1cbf7731a4f733e91627 (diff)
downloadmongo-1c5be329f5e3903d5cd4e9d106022733507b5e3f.tar.gz
SERVER-23092 Collation-aware index key generation
Diffstat (limited to 'src/mongo/db/index/s2_access_method.h')
-rw-r--r--src/mongo/db/index/s2_access_method.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/db/index/s2_access_method.h b/src/mongo/db/index/s2_access_method.h
index add49eccd10..a6b10d625f5 100644
--- a/src/mongo/db/index/s2_access_method.h
+++ b/src/mongo/db/index/s2_access_method.h
@@ -52,6 +52,10 @@ private:
virtual void getKeys(const BSONObj& obj, BSONObjSet* keys) const;
S2IndexingParams _params;
+
+ // Null if this index orders strings according to the simple binary compare. If non-null,
+ // represents the collator used to generate index keys for indexed strings.
+ CollatorInterface* _collator;
};
} // namespace mongo