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

#include "postgres_specific_query_executor.hpp"

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

Public Member Functions

 PostgresSpecificQueryExecutor (soci::session &sql, BlockStorage &block_store, std::shared_ptr< PendingTransactionStorage > pending_txs_storage, std::shared_ptr< shared_model::interface::QueryResponseFactory > response_factory, std::shared_ptr< shared_model::interface::PermissionToString > perm_converter, logger::LoggerPtr log)
 
QueryExecutorResult execute (const shared_model::interface::Query &qry) override
 
bool hasAccountRolePermission (shared_model::interface::permissions::Role permission, const std::string &account_id) const override
 
QueryExecutorResult operator() (const shared_model::interface::GetAccount &q, const shared_model::interface::types::AccountIdType &creator_id, const shared_model::interface::types::HashType &query_hash)
 
QueryExecutorResult operator() (const shared_model::interface::GetBlock &q, const shared_model::interface::types::AccountIdType &creator_id, const shared_model::interface::types::HashType &query_hash)
 
QueryExecutorResult operator() (const shared_model::interface::GetSignatories &q, const shared_model::interface::types::AccountIdType &creator_id, const shared_model::interface::types::HashType &query_hash)
 
QueryExecutorResult operator() (const shared_model::interface::GetAccountTransactions &q, const shared_model::interface::types::AccountIdType &creator_id, const shared_model::interface::types::HashType &query_hash)
 
QueryExecutorResult operator() (const shared_model::interface::GetTransactions &q, const shared_model::interface::types::AccountIdType &creator_id, const shared_model::interface::types::HashType &query_hash)
 
QueryExecutorResult operator() (const shared_model::interface::GetAccountAssetTransactions &q, const shared_model::interface::types::AccountIdType &creator_id, const shared_model::interface::types::HashType &query_hash)
 
QueryExecutorResult operator() (const shared_model::interface::GetAccountAssets &q, const shared_model::interface::types::AccountIdType &creator_id, const shared_model::interface::types::HashType &query_hash)
 
QueryExecutorResult operator() (const shared_model::interface::GetAccountDetail &q, const shared_model::interface::types::AccountIdType &creator_id, const shared_model::interface::types::HashType &query_hash)
 
QueryExecutorResult operator() (const shared_model::interface::GetRoles &q, const shared_model::interface::types::AccountIdType &creator_id, const shared_model::interface::types::HashType &query_hash)
 
QueryExecutorResult operator() (const shared_model::interface::GetRolePermissions &q, const shared_model::interface::types::AccountIdType &creator_id, const shared_model::interface::types::HashType &query_hash)
 
QueryExecutorResult operator() (const shared_model::interface::GetAssetInfo &q, const shared_model::interface::types::AccountIdType &creator_id, const shared_model::interface::types::HashType &query_hash)
 
QueryExecutorResult operator() (const shared_model::interface::GetPendingTransactions &q, const shared_model::interface::types::AccountIdType &creator_id, const shared_model::interface::types::HashType &query_hash)
 
QueryExecutorResult operator() (const shared_model::interface::GetPeers &q, const shared_model::interface::types::AccountIdType &creator_id, const shared_model::interface::types::HashType &query_hash)
 
- Public Member Functions inherited from iroha::ametsuchi::SpecificQueryExecutor
virtual ~SpecificQueryExecutor ()=default
 

Constructor & Destructor Documentation

iroha::ametsuchi::PostgresSpecificQueryExecutor::PostgresSpecificQueryExecutor ( soci::session &  sql,
BlockStorage block_store,
std::shared_ptr< PendingTransactionStorage pending_txs_storage,
std::shared_ptr< shared_model::interface::QueryResponseFactory response_factory,
std::shared_ptr< shared_model::interface::PermissionToString perm_converter,
logger::LoggerPtr  log 
)

Member Function Documentation

QueryExecutorResult iroha::ametsuchi::PostgresSpecificQueryExecutor::execute ( const shared_model::interface::Query qry)
overridevirtual

Implements iroha::ametsuchi::SpecificQueryExecutor.

Here is the call graph for this function:

bool iroha::ametsuchi::PostgresSpecificQueryExecutor::hasAccountRolePermission ( shared_model::interface::permissions::Role  permission,
const std::string &  account_id 
) const
overridevirtual

Implements iroha::ametsuchi::SpecificQueryExecutor.

Here is the call graph for this function:

Here is the caller graph for this function:

QueryExecutorResult iroha::ametsuchi::PostgresSpecificQueryExecutor::operator() ( const shared_model::interface::GetAccount q,
const shared_model::interface::types::AccountIdType creator_id,
const shared_model::interface::types::HashType query_hash 
)

Here is the call graph for this function:

QueryExecutorResult iroha::ametsuchi::PostgresSpecificQueryExecutor::operator() ( const shared_model::interface::GetBlock q,
const shared_model::interface::types::AccountIdType creator_id,
const shared_model::interface::types::HashType query_hash 
)

Here is the call graph for this function:

QueryExecutorResult iroha::ametsuchi::PostgresSpecificQueryExecutor::operator() ( const shared_model::interface::GetSignatories q,
const shared_model::interface::types::AccountIdType creator_id,
const shared_model::interface::types::HashType query_hash 
)

Here is the call graph for this function:

QueryExecutorResult iroha::ametsuchi::PostgresSpecificQueryExecutor::operator() ( const shared_model::interface::GetAccountTransactions q,
const shared_model::interface::types::AccountIdType creator_id,
const shared_model::interface::types::HashType query_hash 
)

Here is the call graph for this function:

QueryExecutorResult iroha::ametsuchi::PostgresSpecificQueryExecutor::operator() ( const shared_model::interface::GetTransactions q,
const shared_model::interface::types::AccountIdType creator_id,
const shared_model::interface::types::HashType query_hash 
)

Here is the call graph for this function:

QueryExecutorResult iroha::ametsuchi::PostgresSpecificQueryExecutor::operator() ( const shared_model::interface::GetAccountAssetTransactions q,
const shared_model::interface::types::AccountIdType creator_id,
const shared_model::interface::types::HashType query_hash 
)

Here is the call graph for this function:

QueryExecutorResult iroha::ametsuchi::PostgresSpecificQueryExecutor::operator() ( const shared_model::interface::GetAccountAssets q,
const shared_model::interface::types::AccountIdType creator_id,
const shared_model::interface::types::HashType query_hash 
)

Here is the call graph for this function:

QueryExecutorResult iroha::ametsuchi::PostgresSpecificQueryExecutor::operator() ( const shared_model::interface::GetAccountDetail q,
const shared_model::interface::types::AccountIdType creator_id,
const shared_model::interface::types::HashType query_hash 
)

Here is the call graph for this function:

QueryExecutorResult iroha::ametsuchi::PostgresSpecificQueryExecutor::operator() ( const shared_model::interface::GetRoles q,
const shared_model::interface::types::AccountIdType creator_id,
const shared_model::interface::types::HashType query_hash 
)

Here is the call graph for this function:

QueryExecutorResult iroha::ametsuchi::PostgresSpecificQueryExecutor::operator() ( const shared_model::interface::GetRolePermissions q,
const shared_model::interface::types::AccountIdType creator_id,
const shared_model::interface::types::HashType query_hash 
)

Here is the call graph for this function:

QueryExecutorResult iroha::ametsuchi::PostgresSpecificQueryExecutor::operator() ( const shared_model::interface::GetAssetInfo q,
const shared_model::interface::types::AccountIdType creator_id,
const shared_model::interface::types::HashType query_hash 
)

Here is the call graph for this function:

QueryExecutorResult iroha::ametsuchi::PostgresSpecificQueryExecutor::operator() ( const shared_model::interface::GetPendingTransactions q,
const shared_model::interface::types::AccountIdType creator_id,
const shared_model::interface::types::HashType query_hash 
)

Here is the call graph for this function:

QueryExecutorResult iroha::ametsuchi::PostgresSpecificQueryExecutor::operator() ( const shared_model::interface::GetPeers q,
const shared_model::interface::types::AccountIdType creator_id,
const shared_model::interface::types::HashType query_hash 
)

Here is the call graph for this function:


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