Akumuli
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends
Public Types | Public Member Functions | List of all members
Akumuli::AkumuliConnection Class Reference

Object of this class writes everything to the database. More...

#include <ingestion_pipeline.h>

Inheritance diagram for Akumuli::AkumuliConnection:
Akumuli::DbConnection

Public Types

enum  Durability { MaxDurability = 1, RelaxedDurability = 2, MaxThroughput = 4 }
 

Public Member Functions

 AkumuliConnection (const char *path, bool hugetlb, Durability durability, uint32_t compression_threshold, uint64_t window_width, uint64_t cache_size)
 
virtual void close ()
 
virtual aku_Status write (const aku_Sample &sample)
 Write value to DB.
 
virtual std::shared_ptr< DbCursorsearch (std::string query)
 Execute search query.
 
virtual int param_id_to_series (aku_ParamId id, char *buffer, size_t buffer_size)
 Convert paramid to series name.
 
virtual aku_Status series_to_param_id (const char *name, size_t size, aku_Sample *sample)
 
virtual std::string get_all_stats ()
 

Detailed Description

Object of this class writes everything to the database.


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