public class DataLoader
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
protected DBConnector |
DB |
|
protected DatabaseEngine |
engine |
Constructor | Description |
---|---|
DataLoader(DatabaseEngine engine,
DBConnector newDB) |
Modifier and Type | Method | Description |
---|---|---|
DatabaseEngine.PlayerData |
createPlayerData() |
|
int |
DBCount(java.lang.String playerID,
java.lang.String section) |
|
int |
DBCountBySection(java.lang.String section) |
|
DatabaseEngine.PlayerData |
DBCreate(java.lang.String playerID,
java.lang.String section,
java.lang.String key,
java.lang.String data) |
|
void |
DBDelete(java.lang.String section) |
|
void |
DBDelete(java.lang.String playerID,
java.lang.String section) |
|
void |
DBDelete(java.lang.String playerID,
java.lang.String section,
java.lang.String key) |
|
void |
DBDeletePlayer(java.lang.String playerID) |
|
boolean |
DBExistsData(java.lang.String section,
java.lang.String name) |
|
java.util.List<DatabaseEngine.PlayerData> |
DBRead(java.lang.String section) |
|
java.util.List<DatabaseEngine.PlayerData> |
DBRead(java.lang.String playerID,
java.lang.String section) |
|
java.util.List<DatabaseEngine.PlayerData> |
DBRead(java.lang.String playerID,
java.lang.String section,
java.lang.String key) |
|
java.util.List<DatabaseEngine.PlayerData> |
DBRead(java.lang.String playerID,
java.util.List<java.lang.String> sections) |
|
java.util.List<DatabaseEngine.PlayerData> |
DBReadAllPlayerData(java.lang.String playerID) |
|
void |
DBReadArtifacts() |
|
java.util.List<java.lang.String> |
DBReadAuthorsBySection(java.lang.String section) |
|
java.util.List<DatabaseEngine.PlayerData> |
DBReadByKeyMask(java.lang.String section,
java.lang.String keyMask) |
|
java.util.List<DatabaseEngine.PlayerData> |
DBReadKey(java.lang.String key) |
|
java.util.List<java.lang.String> |
DBReadNames(java.lang.String section) |
|
java.util.List<java.lang.String> |
DBReadPlayerDataKeys(java.lang.String playerID,
java.lang.String section) |
|
java.util.Set<java.lang.String> |
DBReadSections(java.lang.String name) |
|
DatabaseEngine.PlayerData |
DBReCreate(java.lang.String name,
java.lang.String section,
java.lang.String key,
java.lang.String xml) |
|
void |
DBUpdate(java.lang.String name,
java.lang.String sect,
java.lang.String key,
java.lang.String xml) |
protected DBConnector DB
protected DatabaseEngine engine
public DataLoader(DatabaseEngine engine, DBConnector newDB)
public java.util.List<java.lang.String> DBReadPlayerDataKeys(java.lang.String playerID, java.lang.String section)
public java.util.List<DatabaseEngine.PlayerData> DBRead(java.lang.String playerID, java.lang.String section)
public java.util.List<DatabaseEngine.PlayerData> DBReadAllPlayerData(java.lang.String playerID)
public int DBCount(java.lang.String playerID, java.lang.String section)
public int DBCountBySection(java.lang.String section)
public java.util.List<java.lang.String> DBReadAuthorsBySection(java.lang.String section)
public java.util.List<DatabaseEngine.PlayerData> DBReadByKeyMask(java.lang.String section, java.lang.String keyMask)
public java.util.List<DatabaseEngine.PlayerData> DBReadKey(java.lang.String key)
public java.util.List<DatabaseEngine.PlayerData> DBRead(java.lang.String playerID, java.lang.String section, java.lang.String key)
public java.util.List<DatabaseEngine.PlayerData> DBRead(java.lang.String section)
public java.util.List<java.lang.String> DBReadNames(java.lang.String section)
public boolean DBExistsData(java.lang.String section, java.lang.String name)
public java.util.Set<java.lang.String> DBReadSections(java.lang.String name)
public java.util.List<DatabaseEngine.PlayerData> DBRead(java.lang.String playerID, java.util.List<java.lang.String> sections)
public DatabaseEngine.PlayerData DBReCreate(java.lang.String name, java.lang.String section, java.lang.String key, java.lang.String xml)
public void DBUpdate(java.lang.String name, java.lang.String sect, java.lang.String key, java.lang.String xml)
public void DBDelete(java.lang.String playerID, java.lang.String section)
public void DBDeletePlayer(java.lang.String playerID)
public void DBDelete(java.lang.String playerID, java.lang.String section, java.lang.String key)
public void DBDelete(java.lang.String section)
public DatabaseEngine.PlayerData DBCreate(java.lang.String playerID, java.lang.String section, java.lang.String key, java.lang.String data)
public void DBReadArtifacts()
public DatabaseEngine.PlayerData createPlayerData()