diff options
author | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2015-06-20 00:22:50 -0400 |
---|---|---|
committer | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2015-06-20 10:56:02 -0400 |
commit | 9c2ed42daa8fbbef4a919c21ec564e2db55e8d60 (patch) | |
tree | 3814f79c10d7b490948d8cb7b112ac1dd41ceff1 /src/mongo/db/query/expression_index.h | |
parent | 01965cf52bce6976637ecb8f4a622aeb05ab256a (diff) | |
download | mongo-9c2ed42daa8fbbef4a919c21ec564e2db55e8d60.tar.gz |
SERVER-18579: Clang-Format - reformat code, no comment reflow
Diffstat (limited to 'src/mongo/db/query/expression_index.h')
-rw-r--r-- | src/mongo/db/query/expression_index.h | 41 |
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 |