hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
iroha::ametsuchi::QueryExecutorFactory Class Referenceabstract

#include "query_executor_factory.hpp"

Inheritance diagram for iroha::ametsuchi::QueryExecutorFactory:
Inheritance graph
Collaboration diagram for iroha::ametsuchi::QueryExecutorFactory:
Collaboration graph

Public Member Functions

virtual iroha::expected::Result< std::unique_ptr< QueryExecutor >, std::string > createQueryExecutor (std::shared_ptr< PendingTransactionStorage > pending_txs_storage, std::shared_ptr< shared_model::interface::QueryResponseFactory > response_factory) const =0
 
virtual ~QueryExecutorFactory ()=default
 

Constructor & Destructor Documentation

◆ ~QueryExecutorFactory()

virtual iroha::ametsuchi::QueryExecutorFactory::~QueryExecutorFactory ( )
virtualdefault

Member Function Documentation

◆ createQueryExecutor()

virtual iroha::expected::Result<std::unique_ptr<QueryExecutor>, std::string> iroha::ametsuchi::QueryExecutorFactory::createQueryExecutor ( std::shared_ptr< PendingTransactionStorage pending_txs_storage,
std::shared_ptr< shared_model::interface::QueryResponseFactory response_factory 
) const
pure virtual

Creates a query executor from the current state

Implemented in iroha::ametsuchi::RocksDbStorageImpl, and iroha::ametsuchi::StorageImpl.


The documentation for this class was generated from the following file: