diff options
Diffstat (limited to 'src/mongo/db/repl/oplog_entry.h')
-rw-r--r-- | src/mongo/db/repl/oplog_entry.h | 5 |
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; |