public class SessionQueries
extends java.lang.Object
Session
objects.Modifier and Type | Method and Description |
---|---|
static Query<java.util.List<Session>> |
fetchAllSessions()
Query the database for Session data with kill, death or world data.
|
static Query<java.util.Map<java.util.UUID,java.util.Map<java.util.UUID,java.util.List<Session>>>> |
fetchAllSessionsWithoutKillOrWorldData()
Query the database for Session data without kill, death or world data.
|
static Query<java.util.Map<java.util.UUID,java.util.List<Session>>> |
fetchSessionsOfPlayer(java.util.UUID playerUUID)
Query the database for Session data of a player with kill and world data.
|
static Query<java.util.Map<java.util.UUID,java.util.List<Session>>> |
fetchSessionsOfServer(java.util.UUID serverUUID)
Query the database for Session data of a server with kill and world data.
|
public static Query<java.util.Map<java.util.UUID,java.util.Map<java.util.UUID,java.util.List<Session>>>> fetchAllSessionsWithoutKillOrWorldData()
public static Query<java.util.List<Session>> fetchAllSessions()
public static Query<java.util.Map<java.util.UUID,java.util.List<Session>>> fetchSessionsOfServer(java.util.UUID serverUUID)
serverUUID
- UUID of the Plan server.public static Query<java.util.Map<java.util.UUID,java.util.List<Session>>> fetchSessionsOfPlayer(java.util.UUID playerUUID)
playerUUID
- UUID of the Player.