#include "query_processor_impl.hpp"


Public Member Functions | |
| QueryProcessorImpl (std::shared_ptr< ametsuchi::Storage > storage, std::shared_ptr< ametsuchi::QueryExecutorFactory > qry_exec, std::shared_ptr< iroha::PendingTransactionStorage > pending_transactions, std::shared_ptr< shared_model::interface::QueryResponseFactory > response_factory, logger::LoggerPtr log) | |
| iroha::expected::Result< std::unique_ptr< shared_model::interface::QueryResponse >, std::string > | queryHandle (const shared_model::interface::Query &qry) override |
| iroha::expected::Result< void, std::string > | blocksQueryHandle (const shared_model::interface::BlocksQuery &qry) override |
Public Member Functions inherited from iroha::torii::QueryProcessor | |
| virtual | ~QueryProcessor ()=default |
QueryProcessorImpl provides implementation of QueryProcessor
| iroha::torii::QueryProcessorImpl::QueryProcessorImpl | ( | std::shared_ptr< ametsuchi::Storage > | storage, |
| std::shared_ptr< ametsuchi::QueryExecutorFactory > | qry_exec, | ||
| std::shared_ptr< iroha::PendingTransactionStorage > | pending_transactions, | ||
| std::shared_ptr< shared_model::interface::QueryResponseFactory > | response_factory, | ||
| logger::LoggerPtr | log | ||
| ) |
|
overridevirtual |
Register client blocks query
| query | - client intent |
Implements iroha::torii::QueryProcessor.
|
overridevirtual |
Perform client query
| qry | - client intent |
Implements iroha::torii::QueryProcessor.