summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/oplog_entry.h
diff options
context:
space:
mode:
authormatt dannenberg <matt.dannenberg@10gen.com>2016-03-15 06:52:29 -0400
committermatt dannenberg <matt.dannenberg@10gen.com>2016-03-24 09:54:11 -0400
commit3fb60720a0df562d176887f95925f7562bb50f8c (patch)
treeb90c9eb0417f632609fa296d4026221919fe46af /src/mongo/db/repl/oplog_entry.h
parent491764cac9fc91093793e647d913738c8a14e8ae (diff)
downloadmongo-3fb60720a0df562d176887f95925f7562bb50f8c.tar.gz
SERVER-22858 create a new Applier which wraps multiApply
Diffstat (limited to 'src/mongo/db/repl/oplog_entry.h')
-rw-r--r--src/mongo/db/repl/oplog_entry.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/db/repl/oplog_entry.h b/src/mongo/db/repl/oplog_entry.h
index 08fd1c8d95a..90f7bdbe8bc 100644
--- a/src/mongo/db/repl/oplog_entry.h
+++ b/src/mongo/db/repl/oplog_entry.h
@@ -30,6 +30,8 @@
#include "mongo/bson/bsonobj.h"
+#include "mongo/db/repl/optime.h"
+
namespace mongo {
namespace repl {
@@ -52,8 +54,11 @@ struct OplogEntry {
bool isForCappedCollection = false;
bool isCommand() const;
+ bool isCrudOpType() const;
bool hasNamespace() const;
int getVersion() const;
+ BSONElement getIdElement() const;
+ OpTime getOpTime() const;
Seconds getTimestampSecs() const;
StringData getCollectionName() const;
std::string toString() const;