BitShares-Core  5.0.0
BitShares blockchain implementation and command-line interface software
Public Member Functions | Public Attributes | List of all members
graphene::es_objects::detail::es_objects_plugin_impl Class Reference

Public Member Functions

 es_objects_plugin_impl (es_objects_plugin &_plugin)
 
virtual ~es_objects_plugin_impl ()
 
bool index_database (const vector< object_id_type > &ids, std::string action)
 
bool genesis ()
 
void remove_from_database (object_id_type id, std::string index)
 

Public Attributes

es_objects_plugin_self
 
std::string _es_objects_elasticsearch_url = "http://localhost:9200/"
 
std::string _es_objects_auth = ""
 
uint32_t _es_objects_bulk_replay = 10000
 
uint32_t _es_objects_bulk_sync = 100
 
bool _es_objects_proposals = true
 
bool _es_objects_accounts = true
 
bool _es_objects_assets = true
 
bool _es_objects_balances = true
 
bool _es_objects_limit_orders = false
 
bool _es_objects_asset_bitasset = true
 
std::string _es_objects_index_prefix = "objects-"
 
uint32_t _es_objects_start_es_after_block = 0
 
CURL * curl
 
vector< std::string > bulk
 
vector< std::string > prepare
 
bool _es_objects_keep_only_current = true
 
uint32_t block_number
 
fc::time_point_sec block_time
 

Detailed Description

Definition at line 41 of file es_objects.cpp.

Constructor & Destructor Documentation

graphene::es_objects::detail::es_objects_plugin_impl::es_objects_plugin_impl ( es_objects_plugin _plugin)
inline

Definition at line 44 of file es_objects.cpp.

graphene::es_objects::detail::es_objects_plugin_impl::~es_objects_plugin_impl ( )
virtual

Definition at line 263 of file es_objects.cpp.

Member Function Documentation

bool graphene::es_objects::detail::es_objects_plugin_impl::genesis ( )

Definition at line 80 of file es_objects.cpp.

bool graphene::es_objects::detail::es_objects_plugin_impl::index_database ( const vector< object_id_type > &  ids,
std::string  action 
)

Definition at line 127 of file es_objects.cpp.

void graphene::es_objects::detail::es_objects_plugin_impl::remove_from_database ( object_id_type  id,
std::string  index 
)

Definition at line 220 of file es_objects.cpp.

Member Data Documentation

bool graphene::es_objects::detail::es_objects_plugin_impl::_es_objects_accounts = true

Definition at line 59 of file es_objects.cpp.

bool graphene::es_objects::detail::es_objects_plugin_impl::_es_objects_asset_bitasset = true

Definition at line 63 of file es_objects.cpp.

bool graphene::es_objects::detail::es_objects_plugin_impl::_es_objects_assets = true

Definition at line 60 of file es_objects.cpp.

std::string graphene::es_objects::detail::es_objects_plugin_impl::_es_objects_auth = ""

Definition at line 55 of file es_objects.cpp.

bool graphene::es_objects::detail::es_objects_plugin_impl::_es_objects_balances = true

Definition at line 61 of file es_objects.cpp.

uint32_t graphene::es_objects::detail::es_objects_plugin_impl::_es_objects_bulk_replay = 10000

Definition at line 56 of file es_objects.cpp.

uint32_t graphene::es_objects::detail::es_objects_plugin_impl::_es_objects_bulk_sync = 100

Definition at line 57 of file es_objects.cpp.

std::string graphene::es_objects::detail::es_objects_plugin_impl::_es_objects_elasticsearch_url = "http://localhost:9200/"

Definition at line 54 of file es_objects.cpp.

std::string graphene::es_objects::detail::es_objects_plugin_impl::_es_objects_index_prefix = "objects-"

Definition at line 64 of file es_objects.cpp.

bool graphene::es_objects::detail::es_objects_plugin_impl::_es_objects_keep_only_current = true

Definition at line 70 of file es_objects.cpp.

bool graphene::es_objects::detail::es_objects_plugin_impl::_es_objects_limit_orders = false

Definition at line 62 of file es_objects.cpp.

bool graphene::es_objects::detail::es_objects_plugin_impl::_es_objects_proposals = true

Definition at line 58 of file es_objects.cpp.

uint32_t graphene::es_objects::detail::es_objects_plugin_impl::_es_objects_start_es_after_block = 0

Definition at line 65 of file es_objects.cpp.

es_objects_plugin& graphene::es_objects::detail::es_objects_plugin_impl::_self

Definition at line 53 of file es_objects.cpp.

uint32_t graphene::es_objects::detail::es_objects_plugin_impl::block_number

Definition at line 72 of file es_objects.cpp.

fc::time_point_sec graphene::es_objects::detail::es_objects_plugin_impl::block_time

Definition at line 73 of file es_objects.cpp.

vector<std::string> graphene::es_objects::detail::es_objects_plugin_impl::bulk

Definition at line 67 of file es_objects.cpp.

CURL* graphene::es_objects::detail::es_objects_plugin_impl::curl

Definition at line 66 of file es_objects.cpp.

vector<std::string> graphene::es_objects::detail::es_objects_plugin_impl::prepare

Definition at line 68 of file es_objects.cpp.


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