java.lang.Object
com.djrapitops.plan.storage.database.queries.objects.PingQueries

public class PingQueries extends Object
Queries for Ping objects.
  • Method Details

    • fetchAllPingData

      public static Query<Map<UUID,List<Ping>>> fetchAllPingData()
      Query database for all Ping data.
      Returns:
      Map: Player UUID - List of ping data.
    • fetchPingDataOfPlayer

      public static Query<List<Ping>> fetchPingDataOfPlayer(UUID playerUUID)
      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

      public static Query<Map<String,Ping>> fetchPingDataOfServerByGeolocation(ServerUUID serverUUID)
    • fetchPingDataOfNetworkByGeolocation

      public static Query<Map<String,Ping>> fetchPingDataOfNetworkByGeolocation()
    • averagePing

      public static Query<Double> averagePing(long after, long before, ServerUUID serverUUID)
    • averagePing

      public static Query<Double> averagePing(long after, long before)