Elasticlient
|
Interface for Bulk data collector classes. More...
#include <bulk.h>
Public Member Functions | |
virtual std::string | indexName () const =0 |
virtual bool | empty () const =0 |
Return true if bulk has no data inside. | |
virtual std::size_t | size () const =0 |
Return number of documents inside the bulk. | |
virtual std::string | body () const =0 |
Return elasticsearch bulk request data. | |
Interface for Bulk data collector classes.
|
pure virtual |
Return index name bulk data belongs to. Empty string if data could have different index names.
Implemented in elasticlient::SameIndexBulkData.