public class LargeStoreQueries
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static Executable |
storeAllCommandUsageData(java.util.Map<java.util.UUID,java.util.Map<java.lang.String,java.lang.Integer>> ofServers)
Execute a big batch of command use insert statements.
|
static Executable |
storeAllCommonUserInformation(java.util.Collection<BaseUser> ofUsers)
Execute a big batch of user information insert statements.
|
static Executable |
storeAllGeoInformation(java.util.Map<java.util.UUID,java.util.List<GeoInfo>> ofUsers)
Execute a big batch of GeoInfo insert statements.
|
static Executable |
storeAllNicknameData(java.util.Map<java.util.UUID,java.util.Map<java.util.UUID,java.util.List<Nickname>>> ofServersAndUsers)
Execute a big batch of nickname insert statements.
|
static Executable |
storeAllPingData(java.util.Map<java.util.UUID,java.util.List<Ping>> ofUsers) |
static Executable |
storeAllPlanServerInformation(java.util.Collection<Server> servers)
Execute a big batch of server infromation insert statements.
|
static Executable |
storeAllPlanWebUsers(java.util.Collection<WebUser> users)
Execute a big batch of web user insert statements.
|
static Executable |
storeAllSessionsWithKillAndWorldData(java.util.Collection<Session> sessions) |
static Executable |
storeAllSessionsWithoutKillOrWorldData(java.util.Collection<Session> sessions) |
static Executable |
storeAllTPSData(java.util.Map<java.util.UUID,java.util.List<TPS>> ofServers)
Execute a big batch of TPS insert statements.
|
static Executable |
storeAllWorldNames(java.util.Map<java.util.UUID,java.util.Collection<java.lang.String>> ofServers)
Execute a big batch of world name insert statements.
|
static Executable |
storePerServerUserInformation(java.util.Map<java.util.UUID,java.util.List<UserInfo>> ofServers)
Execute a big batch of Per server UserInfo insert statements.
|
public static Executable storeAllCommandUsageData(java.util.Map<java.util.UUID,java.util.Map<java.lang.String,java.lang.Integer>> ofServers)
ofServers
- Multi map: Server UUID - (Command name - Usage count)Transaction
public static Executable storeAllGeoInformation(java.util.Map<java.util.UUID,java.util.List<GeoInfo>> ofUsers)
ofUsers
- Map: Player UUID - List of GeoInfoTransaction
public static Executable storeAllNicknameData(java.util.Map<java.util.UUID,java.util.Map<java.util.UUID,java.util.List<Nickname>>> ofServersAndUsers)
ofServersAndUsers
- Multimap: Server UUID - (Player UUID - List of nicknames)Transaction
public static Executable storeAllPlanWebUsers(java.util.Collection<WebUser> users)
users
- Collection of Plan WebUsers.Transaction
public static Executable storeAllPlanServerInformation(java.util.Collection<Server> servers)
servers
- Collection of Plan Servers.Transaction
public static Executable storeAllTPSData(java.util.Map<java.util.UUID,java.util.List<TPS>> ofServers)
ofServers
- Map: Server UUID - List of TPS dataTransaction
public static Executable storePerServerUserInformation(java.util.Map<java.util.UUID,java.util.List<UserInfo>> ofServers)
ofServers
- Map: Server UUID - List of user informationTransaction
public static Executable storeAllWorldNames(java.util.Map<java.util.UUID,java.util.Collection<java.lang.String>> ofServers)
ofServers
- Map: Server UUID - Collection of world namesTransaction
public static Executable storeAllCommonUserInformation(java.util.Collection<BaseUser> ofUsers)
ofUsers
- Collection of BaseUsersTransaction
public static Executable storeAllSessionsWithoutKillOrWorldData(java.util.Collection<Session> sessions)
public static Executable storeAllSessionsWithKillAndWorldData(java.util.Collection<Session> sessions)
public static Executable storeAllPingData(java.util.Map<java.util.UUID,java.util.List<Ping>> ofUsers)