BitShares-Core  5.0.0
BitShares blockchain implementation and command-line interface software
Classes | Namespaces | Functions
elasticsearch.hpp File Reference
#include <cstddef>
#include <string>
#include <vector>
#include <curl/curl.h>
#include <fc/time.hpp>
#include <fc/variant_object.hpp>

Go to the source code of this file.


class  graphene::utilities::ES
class  graphene::utilities::CurlRequest




size_t WriteCallback (void *contents, size_t size, size_t nmemb, void *userp)
bool graphene::utilities::SendBulk (ES &&es)
const std::vector< std::string > graphene::utilities::createBulk (const fc::mutable_variant_object &bulk_header, std::string &&data)
bool graphene::utilities::checkES (ES &es)
const std::string graphene::utilities::simpleQuery (ES &es)
bool graphene::utilities::deleteAll (ES &es)
bool graphene::utilities::handleBulkResponse (long http_code, const std::string &CurlReadBuffer)
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)
const std::string graphene::utilities::joinBulkLines (const std::vector< std::string > &bulk)
long graphene::utilities::getResponseCode (CURL *handler)

Function Documentation

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

Definition at line 31 of file elasticsearch.cpp.