31 namespace graphene {
namespace elasticsearch {
32 using namespace chain;
44 #ifndef ELASTICSEARCH_SPACE_ID
45 #define ELASTICSEARCH_SPACE_ID 6
50 class elasticsearch_plugin_impl;
61 std::string plugin_name()
const override;
62 std::string plugin_description()
const override;
63 void plugin_set_program_options(
64 boost::program_options::options_description& cli,
65 boost::program_options::options_description& cfg)
override;
66 void plugin_initialize(
const boost::program_options::variables_map& options)
override;
67 void plugin_startup()
override;
70 vector<operation_history_object> get_account_history(
71 const account_id_type& account_id,
72 const operation_history_id_type& stop = operation_history_id_type(),
74 const operation_history_id_type& start = operation_history_id_type() )
const;
75 mode get_running_mode()
const;
78 std::unique_ptr<detail::elasticsearch_plugin_impl> my;
151 (trx_in_block)(op_in_trx)(virtual_op)(is_virtual)(fee_payer)
157 (order_id)(account_id)(pays_asset_id)(pays_asset_name)(pays_amount)(pays_amount_units)
158 (receives_asset_id)(receives_asset_name)(receives_amount)(receives_amount_units)(fill_price)
159 (fill_price_units)(is_maker) )
162 (account_history)(operation_history)(operation_type)(operation_id_num)(block_data)(additional_data) )