Elasticlient
Public Member Functions | List of all members
elasticlient::IBulkData Class Referenceabstract

Interface for Bulk data collector classes. More...

#include <bulk.h>

Inheritance diagram for elasticlient::IBulkData:
Inheritance graph
[legend]

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.
 

Detailed Description

Interface for Bulk data collector classes.

Member Function Documentation

◆ indexName()

virtual std::string elasticlient::IBulkData::indexName ( ) const
pure virtual

Return index name bulk data belongs to. Empty string if data could have different index names.

Implemented in elasticlient::SameIndexBulkData.


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