|
| database (size_t PackageSize_p=4096, size_t PackageCacheLimit_p=std::numeric_limits< size_t >::max(), const std::string &rPackagesPath_p="") |
| C++ wrapper to construct a threadDB database object see ThreadDB_Create. More...
|
|
| database (const std::string &rIndexFileUTF8_p, size_t PackageCacheLimit_p=std::numeric_limits< size_t >::max()) |
| C++ wrapper to construct a threadDB database object from file see ThreadDB_Import. More...
|
|
| ~database () |
| C++ wrapper to destruct a threadDB database object see ThreadDB_Destroy. More...
|
|
const char * | GetVersionInfo () const |
| C++ wrapper to retrieve the version information of the current installation see ThreadDB_GetVersionInfo. More...
|
|
void | Save (const char *pIndexFileUTF8_p) |
| C++ wrapper to save the contents of a threadDB database see ThreadDB_Save. More...
|
|
const char * | NewThread (const char *pDataFolder_p, size_t MaxFileSize_p=std::numeric_limits< size_t >::max()) |
| C++ wrapper to create and register a threadDB worker thread see ThreadDB_NewThread. More...
|
|
uint64_t | NewPackage () |
| C++ wrapper to create and register a threadDB data package see ThreadDB_NewPackage. More...
|
|
size_t | GetThreadCount () const |
| C++ wrapper to retrieve the number of running threads see ThreadDB_GetThreadCount. More...
|
|
size_t | GetPackageCount () const |
| C++ wrapper to retrieve the number of registered packages see ThreadDB_GetPackageCount. More...
|
|
size_t | GetFileCount () const |
| C++ wrapper to retrieve the number of registered temporary database files see ThreadDB_GetFileCount. More...
|
|
size_t | GetPackageSize () const |
| C++ wrapper to retrieve the size of the internally allocated package buffers see ThreadDB_GetPackageSize. More...
|
|
const char * | GetDatabaseFilename (size_t FileIndex_p) const |
| C++ wrapper to derive the name of the temporary database file with index FileIndex_p ThreadDB_GetDatabaseFileName. More...
|
|
void | RelocateFileTo (size_t FileID_p, const char *pFilePathUTF8_p, threadDB_RelocationType RelocationType_p) const |
| C++ wrapper to move a file to a different location or disk see ThreadDB_RelocateFileTo. More...
|
|
void | Store (uint64_t Package_p, size_t Size_p, const char pData_p[], threadDB_ItemInfo *pItemHandle_p=0) |
| C++ wrapper to store a data item in the selected package see ThreadDB_Store. More...
|
|
void | Synchronize (uint64_t Package_p) |
| C++ wrapper to synchronize the package buffers prior reading see ThreadDB_Synchronize. More...
|
|
void | Synchronize () |
| C++ wrapper to synchronize the package buffers prior reading see ThreadDB_Synchronize. More...
|
|
tdb::ReadInfo | Open (uint64_t Package_p) |
| C++ wrapper to open a package for stream reading see ThreadDB_Open. More...
|
|
tdb::ReadInfo | Open (const tdb::ItemInfo &rItemHandle_p) |
| C++ wrapper to open a package for stream reading see ThreadDB_OpenItem. More...
|
|
size_t | Recover (size_t Size_p, char pData_p[], tdb::ReadInfo &rReadInfo_p) |
| C++ wrapper for stream reading of data items see ThreadDB_RecoverContinous. More...
|
|
bool | End (const tdb::ReadInfo &rReadInfo_p) const |
| C++ wrapper for stream end indicator see ThreadDB_PackageEnd. More...
|
|
void | Recover (uint32_t Size_p, char pData_p[], const tdb::ItemInfo &rItemHandle_p, uint64_t Package_p) |
| C++ wrapper for random reading of data items see ThreadDB_RecoverRandom. More...
|
|
void | Replace (size_t Size_p, const char pData_p[], tdb::ItemInfo &rItemHandle_p) |
| C++ wrapper for replacing the contents of a data item see ThreadDB_Replace. More...
|
|
C++ wrapper class of the threadDB file mapped memory container extension.