Class PingQueries
java.lang.Object
com.djrapitops.plan.storage.database.queries.objects.PingQueries
Queries for
Ping
objects.-
Method Summary
Modifier and TypeMethodDescriptionaveragePing
(long after, long before) averagePing
(long after, long before, ServerUUID serverUUID) Query database for all Ping data.fetchPingDataOfPlayer
(UUID playerUUID) Query database for Ping data of a specific player.fetchPingDataOfServer
(long after, long before, ServerUUID serverUUID) fetchPingDataOfServerByGeolocation
(ServerUUID serverUUID)
-
Method Details
-
fetchAllPingData
Query database for all Ping data.- Returns:
- Map: Player UUID - List of ping data.
-
fetchPingDataOfPlayer
Query database for Ping data of a specific player.- Parameters:
playerUUID
- UUID of the player.- Returns:
- List of Ping entries for this player.
-
fetchPingDataOfServer
public static Query<List<Ping>> fetchPingDataOfServer(long after, long before, ServerUUID serverUUID) -
fetchPingDataOfServerByGeolocation
-
fetchPingDataOfNetworkByGeolocation
-
averagePing
-
averagePing
-