5 #ifndef __ctrlplane__ifmap_link_table__
6 #define __ctrlplane__ifmap_link_table__
41 const std::string &metadata, uint64_t sequence_number,
const DBGraph * graph() const
std::string LinkKey(const std::string &metadata, IFMapNode *left, IFMapNode *right)
virtual std::unique_ptr< DBEntry > AllocEntry(const DBRequestKey *key) const
void DeleteLink(IFMapLink *link, const IFMapOrigin &origin)
IFMapLink * FindLink(const std::string &metadata, IFMapNode *left, IFMapNode *right)
virtual void Input(DBTablePartition *partition, DBClient *client, DBRequest *req)
IFMapLink * AddLink(IFMapNode *left, IFMapNode *right, const std::string &metadata, uint64_t sequence_number, const IFMapOrigin &origin)
IFMapLinkTable(DB *db, const std::string &name, DBGraph *graph)
static DBTable * CreateTable(DB *db, const std::string &name, DBGraph *graph)
static const int kPartitionCount
const std::string & name() const
void IFMapLinkTable_Init(DB *db, DBGraph *graph)
void IFMapLinkTable_Clear(DB *db)
IFMapLink * FindNextLink(const std::string &name)
virtual int PartitionCount() const