Class UserIdentifierQueries
java.lang.Object
com.djrapitops.plan.storage.database.queries.objects.UserIdentifierQueries
Queries for fetching different user identifiers in the database.
-
Method Summary
Modifier and TypeMethodDescriptionQuery database for a Map for all UUIDs and Player names.Query database for all player UUIDs stored in the Plan database.fetchMatchingPlayerNames(String searchFor) fetchMaxUserId(ServerUUID serverUUID) fetchPlayerNameOf(UUID playerUUID) Query database for a Player name matching a specific player's UUID.fetchPlayerUUIDOf(String playerName) Query database for a Player UUID matching a specific player's name.fetchPlayerUUIDsOfServer(ServerUUID serverUUID) Query database for all player UUIDs that have joined a server.fetchUserId(UUID playerUUID) fetchUUIDsStartingFromId(Integer userId, ServerUUID serverUUID, int limit)
-
Method Details
-
fetchAllPlayerUUIDs
-
fetchPlayerUUIDsOfServer
Query database for all player UUIDs that have joined a server.- Parameters:
serverUUID- UUID of the Plan server.- Returns:
- Set of UUIDs.
-
fetchAllPlayerNames
-
fetchPlayerUUIDOf
-
fetchPlayerNameOf
-
fetchMatchingPlayerNames
-
fetchAllUserIds
-
fetchUserId
-
fetchMaxUserId
-
fetchUUIDsStartingFromId
public static Query<List<UUID>> fetchUUIDsStartingFromId(Integer userId, ServerUUID serverUUID, int limit)
-