Microsoft Information Protection (MIP) SDK for C++: Reference 1.15
Doxygen-generated documentation for MIP SDK written in C++
|
A class that defines the interface to the MIP SDK storage for caching. More...
#include <src/api/mip/storage_delegate.h>
Classes | |
class | StorageSettings |
Settings used by StorageDelegate. More... | |
Public Member Functions | |
virtual mip::StorageTableResult | CreateStorageTable (const std::string &path, const MipComponent mipComponent, const std::string &tableName, const std::vector< std::string > &allColumns, const std::vector< std::string > &encryptedColumns, const std::vector< std::string > &keyColumns) const =0 |
Creates an instance of a storage table that MIP uses for caching. | |
virtual StorageSettings | GetSettings () const =0 |
Gets settings used by StorageDelegate. | |
A class that defines the interface to the MIP SDK storage for caching.
Definition at line 63 of file storage_delegate.h.
|
pure virtual |
Creates an instance of a storage table that MIP uses for caching.
If a table already exists & schema doesnt match with allColumns
, implementatiion should drop the table and re-create new one.
path | Default path for mip storage. Will end in file extension returned from StorageSettings::OnDiskExtension() |
mipComponent | MipComponent associated with this table. |
tableName | Name of the table to create. |
allColumns | All columns represented in the table. |
encryptedColumns | Represents the set of columns within allColumns that need to be encrypted. This argument is only populated if CacheStorageType (configured via the profile settings) is not OnDiskEncrypted , otherwise the MIP SDK will internally encrypt the column data for these columns and modify their name with an 'encrypt_' prefix. |
keyColumns | Key columns used to identify unique table entries. |
|
pure virtual |
Gets settings used by StorageDelegate.