summaryrefslogtreecommitdiff
path: root/src/mongo/db/index_set.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/index_set.h')
-rw-r--r--src/mongo/db/index_set.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mongo/db/index_set.h b/src/mongo/db/index_set.h
index 1ff99780f07..9f4d98b60bc 100644
--- a/src/mongo/db/index_set.h
+++ b/src/mongo/db/index_set.h
@@ -32,8 +32,12 @@ namespace mongo {
class IndexPathSet {
public:
+ IndexPathSet();
+
void addPath( const StringData& path );
+ void allPathsIndexed();
+
void clear();
bool mightBeIndexed( const StringData& path ) const;
@@ -43,6 +47,8 @@ namespace mongo {
bool _startsWith( const StringData& a, const StringData& b ) const;
std::set<std::string> _canonical;
+
+ bool _allPathsIndexed;
};
}