summaryrefslogtreecommitdiff
path: root/src/mongo/db/matcher/expression_parser.h
diff options
context:
space:
mode:
authorTed Tuckman <ted.tuckman@mongodb.com>2019-04-08 12:38:26 -0400
committerTed Tuckman <ted.tuckman@mongodb.com>2019-04-25 09:18:51 -0400
commitf740b0abe67453ca069555af7eea76f063ba90a9 (patch)
tree7cb2145318ff1a813e0b2166cdd242198e74b3bf /src/mongo/db/matcher/expression_parser.h
parent252f84531a023b02cef56d79c1b498e1c4c9d096 (diff)
downloadmongo-f740b0abe67453ca069555af7eea76f063ba90a9.tar.gz
SERVER-40253 Implement count command in IDL
Diffstat (limited to 'src/mongo/db/matcher/expression_parser.h')
-rw-r--r--src/mongo/db/matcher/expression_parser.h30
1 files changed, 0 insertions, 30 deletions
diff --git a/src/mongo/db/matcher/expression_parser.h b/src/mongo/db/matcher/expression_parser.h
index a5adb44cb61..40aa8eb965a 100644
--- a/src/mongo/db/matcher/expression_parser.h
+++ b/src/mongo/db/matcher/expression_parser.h
@@ -123,35 +123,5 @@ public:
const boost::intrusive_ptr<ExpressionContext>& expCtx,
const ExtensionsCallback& extensionsCallback = ExtensionsCallbackNoop(),
AllowedFeatureSet allowedFeatures = kDefaultSpecialFeatures);
-
- /**
- * Parses a BSONElement of any numeric type into a positive long long, failing if the value
- * is any of the following:
- *
- * - NaN.
- * - Negative.
- * - A floating point number which is not integral.
- * - Too large to fit within a 64-bit signed integer.
- */
- static StatusWith<long long> parseIntegerElementToNonNegativeLong(BSONElement elem);
-
- /**
- * Parses a BSONElement of any numeric type into a long long, failing if the value
- * is any of the following:
- *
- * - NaN.
- * - A floating point number which is not integral.
- * - Too large in the positive or negative direction to fit within a 64-bit signed integer.
- */
- static StatusWith<long long> parseIntegerElementToLong(BSONElement elem);
-
- /**
- * Parses a BSONElement of any numeric type into an integer, failing if the value is:
- *
- * - NaN
- * - a non-integral number
- * - too large in the positive or negative direction to fit in an int
- */
- static StatusWith<int> parseIntegerElementToInt(BSONElement elem);
};
} // namespace mongo