19#ifndef TABEL_VIEW_HPP_ 
   20#define TABEL_VIEW_HPP_ 
   22#include <pulsar/Result.h> 
   23#include <pulsar/TableViewConfiguration.h> 
   24#include <pulsar/defines.h> 
   27#include <unordered_map> 
   34typedef std::function<void(
const std::string& key, 
const std::string& value)> TableViewAction;
 
   78    bool getValue(
const std::string& key, std::string& value) 
const;
 
   90    std::unordered_map<std::string, std::string> 
snapshot();
 
  120    typedef std::shared_ptr<TableViewImpl> TableViewImplPtr;
 
  121    TableViewImplPtr impl_;
 
  124    friend class PulsarFriend;
 
  125    friend class ClientImpl;
 
Definition TableView.h:38
 
bool containsKey(const std::string &key) const
 
std::unordered_map< std::string, std::string > snapshot()
 
bool retrieveValue(const std::string &key, std::string &value)
 
void closeAsync(ResultCallback callback)
 
bool getValue(const std::string &key, std::string &value) const
 
void forEachAndListen(TableViewAction action)
 
void forEach(TableViewAction action)
 
Definition Authentication.h:31
 
std::function< void(Result result)> ResultCallback
Callback definition for non-data operation.
Definition ConsumerConfiguration.h:50
 
Result
Definition Result.h:32