33#ifndef API_MIP_STORAGE_TABLE_H_
34#define API_MIP_STORAGE_TABLE_H_
56#if !defined(SWIG) && !defined(SWIG_DIRECTORS)
57 [[deprecated(
"Insert method is deprecated, instead use InsertOrReplace method")]]
59 virtual void Insert(
const std::vector<std::string>& allColumnValues)
69 virtual void InsertOrReplace(
const std::vector<std::string>& allColumnValues) = 0;
76 virtual std::vector<std::vector<std::string>>
List() = 0;
88 const std::vector<std::string>& updateColumns,
89 const std::vector<std::string>& updateValues,
90 const std::vector<std::string>& queryColumns,
91 const std::vector<std::string>& queryValues) = 0;
101 const std::vector<std::string>& queryColumns,
102 const std::vector<std::string>& queryValues) = 0;
112 virtual std::vector<std::vector<std::string>>
Find(
113 const std::vector<std::string>& queryColumns,
114 const std::vector<std::string>& queryValues) = 0;
A class that defines the interface to the MIP SDK storage table used for caching.
virtual void Delete(const std::vector< std::string > &queryColumns, const std::vector< std::string > &queryValues)=0
Delete a set of rows specified by queryColumns and queryValues.
virtual void Insert(const std::vector< std::string > &allColumnValues)
Adds a row to the table.
virtual void InsertOrReplace(const std::vector< std::string > &allColumnValues)=0
Adds a row to the table.
virtual void Update(const std::vector< std::string > &updateColumns, const std::vector< std::string > &updateValues, const std::vector< std::string > &queryColumns, const std::vector< std::string > &queryValues)=0
Update a set of rows within the table.
virtual std::vector< std::vector< std::string > > List()=0
List all the rows in the table.
virtual std::vector< std::vector< std::string > > Find(const std::vector< std::string > &queryColumns, const std::vector< std::string > &queryValues)=0
Find a set of rows specified by queryColumns and queryValues.