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

Public Member Functions

 elasticsearch_plugin_impl (elasticsearch_plugin &_plugin)
 
virtual ~elasticsearch_plugin_impl ()
 
bool update_account_histories (const signed_block &b)
 
graphene::chain::databasedatabase ()
 

Public Attributes

elasticsearch_plugin_self
 
primary_index< operation_history_index > * _oho_index
 
std::string _elasticsearch_node_url = "http://localhost:9200/"
 
uint32_t _elasticsearch_bulk_replay = 10000
 
uint32_t _elasticsearch_bulk_sync = 100
 
bool _elasticsearch_visitor = false
 
std::string _elasticsearch_basic_auth = ""
 
std::string _elasticsearch_index_prefix = "bitshares-"
 
bool _elasticsearch_operation_object = true
 
uint32_t _elasticsearch_start_es_after_block = 0
 
bool _elasticsearch_operation_string = false
 
mode _elasticsearch_mode = mode::only_save
 
CURL * curl
 
vector< string > bulk_lines
 
vector< std::string > prepare
 
graphene::utilities::ES es
 
uint32_t limit_documents
 
int16_t op_type
 
operation_history_struct os
 
block_struct bs
 
visitor_struct vs
 
bulk_struct bulk_line_struct
 
std::string bulk_line
 
std::string index_name
 
bool is_sync = false
 

Detailed Description

Definition at line 36 of file elasticsearch_plugin.cpp.

Constructor & Destructor Documentation

graphene::elasticsearch::detail::elasticsearch_plugin_impl::elasticsearch_plugin_impl ( elasticsearch_plugin _plugin)
inline

Definition at line 39 of file elasticsearch_plugin.cpp.

graphene::elasticsearch::detail::elasticsearch_plugin_impl::~elasticsearch_plugin_impl ( )
virtual

Definition at line 96 of file elasticsearch_plugin.cpp.

Member Function Documentation

graphene::chain::database& graphene::elasticsearch::detail::elasticsearch_plugin_impl::database ( )
inline

Definition at line 46 of file elasticsearch_plugin.cpp.

bool graphene::elasticsearch::detail::elasticsearch_plugin_impl::update_account_histories ( const signed_block &  b)

Definition at line 105 of file elasticsearch_plugin.cpp.

Member Data Documentation

std::string graphene::elasticsearch::detail::elasticsearch_plugin_impl::_elasticsearch_basic_auth = ""

Definition at line 58 of file elasticsearch_plugin.cpp.

uint32_t graphene::elasticsearch::detail::elasticsearch_plugin_impl::_elasticsearch_bulk_replay = 10000

Definition at line 55 of file elasticsearch_plugin.cpp.

uint32_t graphene::elasticsearch::detail::elasticsearch_plugin_impl::_elasticsearch_bulk_sync = 100

Definition at line 56 of file elasticsearch_plugin.cpp.

std::string graphene::elasticsearch::detail::elasticsearch_plugin_impl::_elasticsearch_index_prefix = "bitshares-"

Definition at line 59 of file elasticsearch_plugin.cpp.

mode graphene::elasticsearch::detail::elasticsearch_plugin_impl::_elasticsearch_mode = mode::only_save

Definition at line 63 of file elasticsearch_plugin.cpp.

std::string graphene::elasticsearch::detail::elasticsearch_plugin_impl::_elasticsearch_node_url = "http://localhost:9200/"

Definition at line 54 of file elasticsearch_plugin.cpp.

bool graphene::elasticsearch::detail::elasticsearch_plugin_impl::_elasticsearch_operation_object = true

Definition at line 60 of file elasticsearch_plugin.cpp.

bool graphene::elasticsearch::detail::elasticsearch_plugin_impl::_elasticsearch_operation_string = false

Definition at line 62 of file elasticsearch_plugin.cpp.

uint32_t graphene::elasticsearch::detail::elasticsearch_plugin_impl::_elasticsearch_start_es_after_block = 0

Definition at line 61 of file elasticsearch_plugin.cpp.

bool graphene::elasticsearch::detail::elasticsearch_plugin_impl::_elasticsearch_visitor = false

Definition at line 57 of file elasticsearch_plugin.cpp.

primary_index< operation_history_index >* graphene::elasticsearch::detail::elasticsearch_plugin_impl::_oho_index

Definition at line 52 of file elasticsearch_plugin.cpp.

elasticsearch_plugin& graphene::elasticsearch::detail::elasticsearch_plugin_impl::_self

Definition at line 51 of file elasticsearch_plugin.cpp.

block_struct graphene::elasticsearch::detail::elasticsearch_plugin_impl::bs

Definition at line 72 of file elasticsearch_plugin.cpp.

std::string graphene::elasticsearch::detail::elasticsearch_plugin_impl::bulk_line

Definition at line 75 of file elasticsearch_plugin.cpp.

bulk_struct graphene::elasticsearch::detail::elasticsearch_plugin_impl::bulk_line_struct

Definition at line 74 of file elasticsearch_plugin.cpp.

vector<string> graphene::elasticsearch::detail::elasticsearch_plugin_impl::bulk_lines

Definition at line 65 of file elasticsearch_plugin.cpp.

CURL* graphene::elasticsearch::detail::elasticsearch_plugin_impl::curl

Definition at line 64 of file elasticsearch_plugin.cpp.

graphene::utilities::ES graphene::elasticsearch::detail::elasticsearch_plugin_impl::es

Definition at line 68 of file elasticsearch_plugin.cpp.

std::string graphene::elasticsearch::detail::elasticsearch_plugin_impl::index_name

Definition at line 76 of file elasticsearch_plugin.cpp.

bool graphene::elasticsearch::detail::elasticsearch_plugin_impl::is_sync = false

Definition at line 77 of file elasticsearch_plugin.cpp.

uint32_t graphene::elasticsearch::detail::elasticsearch_plugin_impl::limit_documents

Definition at line 69 of file elasticsearch_plugin.cpp.

int16_t graphene::elasticsearch::detail::elasticsearch_plugin_impl::op_type

Definition at line 70 of file elasticsearch_plugin.cpp.

operation_history_struct graphene::elasticsearch::detail::elasticsearch_plugin_impl::os

Definition at line 71 of file elasticsearch_plugin.cpp.

vector<std::string> graphene::elasticsearch::detail::elasticsearch_plugin_impl::prepare

Definition at line 66 of file elasticsearch_plugin.cpp.

visitor_struct graphene::elasticsearch::detail::elasticsearch_plugin_impl::vs

Definition at line 73 of file elasticsearch_plugin.cpp.


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