CatapultServer
v0.5.0.1 (Elephant)
|
A mongo transaction plugin. More...
Public Member Functions | |
virtual std::vector< bsoncxx::document::value > | extractDependentDocuments (const model::Transaction &transaction, const MongoTransactionMetadata &metadata) const =0 |
virtual bool | supportsEmbedding () const =0 |
true if this transaction type supports embedding. More... | |
virtual const EmbeddedMongoTransactionPlugin & | embeddedPlugin () const =0 |
Gets the corresponding embedded plugin if supportsEmbedding() is true . More... | |
Public Member Functions inherited from catapult::mongo::MongoTransactionPluginT< model::Transaction > | |
virtual | ~MongoTransactionPluginT ()=default |
virtual model::EntityType | type () const=0 |
Gets the transaction entity type. More... | |
virtual void | streamTransaction (bsoncxx::builder::stream::document &builder, const model::Transaction &transaction) const=0 |
Streams a transaction to builder. More... | |
A mongo transaction plugin.
|
pure virtual |
Gets the corresponding embedded plugin if supportsEmbedding() is true
.
Implemented in catapult::mongo::MongoTransactionPluginFactory::TransactionPluginT< TTransaction, TEmbeddedTransaction >.
|
pure virtual |
Extracts dependent documents from transaction given the associated metadata.
Implemented in catapult::mongo::MongoTransactionPluginFactory::TransactionPluginT< TTransaction, TEmbeddedTransaction >.
|
pure virtual |
true
if this transaction type supports embedding.
Implemented in catapult::mongo::MongoTransactionPluginFactory::TransactionPluginT< TTransaction, TEmbeddedTransaction >.