summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/expression_index.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/query/expression_index.h')
-rw-r--r--src/mongo/db/query/expression_index.h41
1 files changed, 20 insertions, 21 deletions
diff --git a/src/mongo/db/query/expression_index.h b/src/mongo/db/query/expression_index.h
index b50c2037e21..910433924ff 100644
--- a/src/mongo/db/query/expression_index.h
+++ b/src/mongo/db/query/expression_index.h
@@ -32,29 +32,28 @@
#include "mongo/db/jsobj.h"
#include "mongo/db/geo/shapes.h"
-#include "mongo/db/query/index_bounds_builder.h" // For OrderedIntervalList
+#include "mongo/db/query/index_bounds_builder.h" // For OrderedIntervalList
namespace mongo {
- /**
- * Functions that compute expression index mappings.
- *
- * TODO: I think we could structure this more generally with respect to planning.
- */
- class ExpressionMapping {
- public:
-
- static BSONObj hash(const BSONElement& value);
-
- static void cover2d(const R2Region& region,
- const BSONObj& indexInfoObj,
- int maxCoveringCells,
- OrderedIntervalList* oil);
-
- // TODO: what should we really pass in for indexInfoObj?
- static void cover2dsphere(const S2Region& region,
- const BSONObj& indexInfoObj,
- OrderedIntervalList* oilOut);
- };
+/**
+ * Functions that compute expression index mappings.
+ *
+ * TODO: I think we could structure this more generally with respect to planning.
+ */
+class ExpressionMapping {
+public:
+ static BSONObj hash(const BSONElement& value);
+
+ static void cover2d(const R2Region& region,
+ const BSONObj& indexInfoObj,
+ int maxCoveringCells,
+ OrderedIntervalList* oil);
+
+ // TODO: what should we really pass in for indexInfoObj?
+ static void cover2dsphere(const S2Region& region,
+ const BSONObj& indexInfoObj,
+ OrderedIntervalList* oilOut);
+};
} // namespace mongo