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

public class NicknameQueries extends Object
Queries for Nickname objects.
  • Method Details

    • fetchAllNicknameData

      public static Query<Map<ServerUUID,Map<UUID,List<Nickname>>>> fetchAllNicknameData()
      Query database for all nickname data.
      Returns:
      Multimap: Server UUID - (Player UUID - List of nicknames)
    • fetchLastSeenNicknameOfPlayer

      public static Query<Optional<Nickname>> fetchLastSeenNicknameOfPlayer(UUID playerUUID, ServerUUID serverUUID)
    • fetchNicknameDataOfPlayer

      public static Query<List<Nickname>> fetchNicknameDataOfPlayer(UUID playerUUID)