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

public class ServerQueries extends Object
Queries for Server objects.
  • Method Details

    • fetchUninstalledServerInformation

      public static Query<Collection<Server>> fetchUninstalledServerInformation()
    • fetchPlanServerInformation

      public static Query<Map<ServerUUID,Server>> fetchPlanServerInformation()
      Query database for all Plan server information.
      Returns:
      Map: Server UUID - Plan Server Information
    • fetchPlanServerInformationCollection

      public static Query<Collection<Server>> fetchPlanServerInformationCollection()
    • fetchServerMatchingIdentifier

      public static Query<Optional<Server>> fetchServerMatchingIdentifier(ServerUUID serverUUID)
    • fetchServerMatchingIdentifier

      public static Query<Optional<Server>> fetchServerMatchingIdentifier(String identifier)
    • fetchProxyServers

      public static Query<List<Server>> fetchProxyServers()
    • fetchProxyServerUUIDs

      public static Query<List<ServerUUID>> fetchProxyServerUUIDs()
    • fetchGameServerNames

      public static Query<List<String>> fetchGameServerNames()
    • fetchServerNames

      public static Query<Map<ServerUUID,String>> fetchServerNames()
    • findMatchingServers

      public static Query<List<Server>> findMatchingServers(String identifier)
    • fetchServerCount

      public static Query<Integer> fetchServerCount()
    • fetchBiggestServerID

      public static Query<Integer> fetchBiggestServerID()
    • fetchServerNamesToUUIDs

      public static Query<Map<String,ServerUUID>> fetchServerNamesToUUIDs()
    • fetchServersMatchingIdentifiers

      public static Query<List<ServerUUID>> fetchServersMatchingIdentifiers(List<String> serverNames)