16 #ifndef ALEXA_CLIENT_SDK_AVSCOMMON_SDKINTERFACES_INCLUDE_AVSCOMMON_SDKINTERFACES_STORAGE_MISCSTORAGEINTERFACE_H_ 17 #define ALEXA_CLIENT_SDK_AVSCOMMON_SDKINTERFACES_INCLUDE_AVSCOMMON_SDKINTERFACES_STORAGE_MISCSTORAGEINTERFACE_H_ 20 #include <unordered_map> 24 namespace sdkInterfaces {
73 virtual bool open() = 0;
85 virtual void close() = 0;
209 bool* tableEntryExistsValue) = 0;
222 bool* tableExistsValue) = 0;
235 std::unordered_map<std::string, std::string>* valueContainer) = 0;
243 #endif // ALEXA_CLIENT_SDK_AVSCOMMON_SDKINTERFACES_INCLUDE_AVSCOMMON_SDKINTERFACES_STORAGE_MISCSTORAGEINTERFACE_H_ ValueType
The type of the value column in Misc DB.
Definition: MiscStorageInterface.h:44
::std::string string
Definition: gtest-port.h:1097
virtual ~MiscStorageInterface()=default
virtual bool load(const std::string &componentName, const std::string &tableName, std::unordered_map< std::string, std::string > *valueContainer)=0
virtual bool tableExists(const std::string &componentName, const std::string &tableName, bool *tableExistsValue)=0
virtual bool add(const std::string &componentName, const std::string &tableName, const std::string &key, const std::string &value)=0
static const std::string tableName
Definition: SmartScreenCaptionStateManagerTest.cpp:30
virtual bool isOpened()=0
KeyType
The type of the key column in Misc DB.
Definition: MiscStorageInterface.h:36
virtual bool createDatabase()=0
virtual bool deleteTable(const std::string &componentName, const std::string &tableName)=0
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
virtual bool createTable(const std::string &componentName, const std::string &tableName, KeyType keyType, ValueType valueType)=0
static const std::string componentName
Definition: SmartScreenCaptionStateManagerTest.cpp:29
virtual bool put(const std::string &componentName, const std::string &tableName, const std::string &key, const std::string &value)=0
virtual bool tableEntryExists(const std::string &componentName, const std::string &tableName, const std::string &key, bool *tableEntryExistsValue)=0
virtual bool clearTable(const std::string &componentName, const std::string &tableName)=0
virtual bool update(const std::string &componentName, const std::string &tableName, const std::string &key, const std::string &value)=0
Definition: MiscStorageInterface.h:33
static const std::string key
The database key to be used by the protocol given the METADATA object.
Definition: SharedAVSSettingProtocolTest.cpp:58