diff options
author | Sally McNichols <sally.mcnichols@mongodb.com> | 2016-08-05 13:31:45 -0400 |
---|---|---|
committer | Sally McNichols <sally.mcnichols@mongodb.com> | 2016-08-05 13:31:45 -0400 |
commit | 91e499934c04443d98f88f850a37f9e341382b4b (patch) | |
tree | b78573d882f181d5347d445b8b7a2d8e800b3d4d /src/mongo/db/pipeline/expression.h | |
parent | 6ab376813cde9a520f6625992e3f4f645e3030e3 (diff) | |
download | mongo-91e499934c04443d98f88f850a37f9e341382b4b.tar.gz |
SERVER-24152 add granularity option to $bucketAuto
Diffstat (limited to 'src/mongo/db/pipeline/expression.h')
-rw-r--r-- | src/mongo/db/pipeline/expression.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/db/pipeline/expression.h b/src/mongo/db/pipeline/expression.h index 918ac7a6741..7bd744ab64d 100644 --- a/src/mongo/db/pipeline/expression.h +++ b/src/mongo/db/pipeline/expression.h @@ -1094,6 +1094,10 @@ public: }; class ExpressionPow final : public ExpressionFixedArity<ExpressionPow, 2> { +public: + static boost::intrusive_ptr<Expression> create(Value base, Value exp); + +private: Value evaluateInternal(Variables* vars) const final; const char* getOpName() const final; }; |