public class BaseUserQueries
extends java.lang.Object
BaseUser
objects.Modifier and Type | Method and Description |
---|---|
static Query<java.util.Collection<BaseUser>> |
fetchAllBaseUsers()
Query database for common user information.
|
static Query<java.util.Optional<BaseUser>> |
fetchBaseUserOfPlayer(java.util.UUID playerUUID)
Query database for common user information of a player.
|
static Query<java.util.Collection<BaseUser>> |
fetchServerBaseUsers(java.util.UUID serverUUID)
Query database for common user information for players that have played on a specific server.
|
public static Query<java.util.Collection<BaseUser>> fetchAllBaseUsers()
Only one BaseUser
per player exists unlike UserInfo
which is available per server.
public static Query<java.util.Optional<BaseUser>> fetchBaseUserOfPlayer(java.util.UUID playerUUID)
Only one BaseUser
per player exists unlike UserInfo
which is available per server.
playerUUID
- UUID of the Player.public static Query<java.util.Collection<BaseUser>> fetchServerBaseUsers(java.util.UUID serverUUID)
Only one BaseUser
per player exists unlike UserInfo
which is available per server.
This will fetch BaseUsers for which UserInfo object also exists on the server.
serverUUID
- UUID of the Plan server.