#include <database.h>
Inheritance diagram for MapDatabase:
Collaboration diagram for MapDatabase:Public Member Functions | |
| virtual | ~MapDatabase ()=default |
| virtual bool | saveBlock (const v3s16 &pos, std::string_view data)=0 |
| virtual void | loadBlock (const v3s16 &pos, std::string *block)=0 |
| virtual bool | deleteBlock (const v3s16 &pos)=0 |
| virtual void | listAllLoadableBlocks (std::vector< v3s16 > &dst)=0 |
Public Member Functions inherited from Database | |
| virtual void | beginSave ()=0 |
| virtual void | endSave ()=0 |
| virtual bool | initialized () const |
Static Public Member Functions | |
| static s64 | getBlockAsInteger (const v3s16 &pos) |
| static v3s16 | getIntegerAsBlock (s64 i) |
|
virtualdefault |
|
pure virtual |
Implemented in Database_Dummy, Database_LevelDB, Database_Redis, MapDatabasePostgreSQL, and MapDatabaseSQLite3.
Referenced by ServerMap::deleteBlock().
Here is the caller graph for this function:
|
static |
Referenced by MapDatabaseSQLite3::bindPos(), Database_Dummy::deleteBlock(), Database_LevelDB::deleteBlock(), Database_Redis::deleteBlock(), ServerEnvironment::findSunlight(), Database_Dummy::loadBlock(), Database_LevelDB::loadBlock(), Database_Redis::loadBlock(), Database_Dummy::saveBlock(), Database_LevelDB::saveBlock(), and Database_Redis::saveBlock().
Here is the caller graph for this function:
|
static |
References pythonmodulo(), and unsigned_to_signed().
Referenced by Database_Dummy::listAllLoadableBlocks(), Database_LevelDB::listAllLoadableBlocks(), Database_Redis::listAllLoadableBlocks(), and MapDatabaseSQLite3::listAllLoadableBlocks().
Here is the call graph for this function:
Here is the caller graph for this function:
|
pure virtual |
Implemented in Database_Dummy, Database_LevelDB, Database_Redis, MapDatabasePostgreSQL, and MapDatabaseSQLite3.
Referenced by ServerMap::listAllLoadableBlocks(), migrate_map_database(), and recompress_map_database().
Here is the caller graph for this function:
|
pure virtual |
Implemented in Database_Dummy, Database_LevelDB, Database_Redis, MapDatabasePostgreSQL, and MapDatabaseSQLite3.
Referenced by MapDatabaseAccessor::loadBlock(), migrate_map_database(), and recompress_map_database().
Here is the caller graph for this function:
|
pure virtual |
Implemented in Database_Dummy, Database_LevelDB, Database_Redis, MapDatabasePostgreSQL, and MapDatabaseSQLite3.
Referenced by recompress_map_database(), and ServerMap::saveBlock().
Here is the caller graph for this function: