Class UserInfoQueries
java.lang.Object
com.djrapitops.plan.storage.database.queries.objects.UserInfoQueries
Queries for
UserInfo
objects.-
Method Summary
Modifier and TypeMethodDescriptionextractUserIds
(ResultSet set) extractUserIds
(ResultSet set, String column) static Query
<Map<ServerUUID, List<UserInfo>>> Query database for user information.fetchRegisterDates
(long after, long before, ServerUUID serverUUID) fetchUserInformationOfUser
(UUID playerUUID) Query database for User information of a specific player.getUserIdsForBooleanGroup
(String column, boolean value) userIdsOfRegisteredBetween
(long after, long before, List<ServerUUID> serverUUIDs)
-
Method Details
-
fetchAllUserInformation
Query database for user information.The user information does not contain player names.
- Returns:
- Map: Server UUID - List of user information
-
fetchUserInformationOfUser
Query database for User information of a specific player.- Parameters:
playerUUID
- UUID of the player.- Returns:
- List of UserInfo objects, one for each server where the player has played.
-
fetchRegisterDates
public static Query<Map<UUID,Long>> fetchRegisterDates(long after, long before, ServerUUID serverUUID) -
userIdsOfOperators
-
getUserIdsForBooleanGroup
-
extractUserIds
- Throws:
SQLException
-
extractUserIds
- Throws:
SQLException
-
userIdsOfNonOperators
-
userIdsOfBanned
-
userIdsOfNotBanned
-
userIdsOfRegisteredBetween
public static Query<Set<Integer>> userIdsOfRegisteredBetween(long after, long before, List<ServerUUID> serverUUIDs)
-