BitShares-Core  5.0.0
BitShares blockchain implementation and command-line interface software
Namespaces | Functions
elasticsearch.cpp File Reference
#include <graphene/utilities/elasticsearch.hpp>
#include <boost/algorithm/string/join.hpp>
#include <boost/algorithm/string.hpp>
#include <fc/log/logger.hpp>
#include <fc/io/json.hpp>

Go to the source code of this file.

Namespaces

 graphene
 
 graphene::utilities
 

Functions

size_t WriteCallback (void *contents, size_t size, size_t nmemb, void *userp)
 
bool graphene::utilities::checkES (ES &es)
 
const std::string graphene::utilities::simpleQuery (ES &es)
 
bool graphene::utilities::SendBulk (ES &&es)
 
const std::string graphene::utilities::joinBulkLines (const std::vector< std::string > &bulk)
 
long graphene::utilities::getResponseCode (CURL *handler)
 
bool graphene::utilities::handleBulkResponse (long http_code, const std::string &CurlReadBuffer)
 
const std::vector< std::string > graphene::utilities::createBulk (const fc::mutable_variant_object &bulk_header, std::string &&data)
 
bool graphene::utilities::deleteAll (ES &es)
 
const std::string graphene::utilities::getEndPoint (ES &es)
 
const std::string graphene::utilities::generateIndexName (const fc::time_point_sec &block_date, const std::string &_elasticsearch_index_prefix)
 
const std::string graphene::utilities::doCurl (CurlRequest &curl)
 

Function Documentation

size_t WriteCallback ( void *  contents,
size_t  size,
size_t  nmemb,
void *  userp 
)

Definition at line 31 of file elasticsearch.cpp.