Interface FColorH2

All Superinterfaces:
FColorSQL, SQL

public interface FColorH2 extends FColorSQL
H2-specific implementation of FColorSQL.
Since:
1.10.0
  • Method Details

    • insertFColorsIfAbsent

      void insertFColorsIfAbsent(List<String> names)
      Description copied from interface: FColorSQL
      Inserts color names into the database if they do not already exist.
      Specified by:
      insertFColorsIfAbsent in interface FColorSQL
      Parameters:
      names - list of color names to insert if absent
    • batchUpsertPlayerFColors

      void batchUpsertPlayerFColors(int playerId, List<Integer> numbers, List<Integer> fcolorIds, String type)
      Description copied from interface: FColorSQL
      Performs batch upsert operations for player color configurations. Inserts or updates multiple player color entries in a single operation, associating color numbers with their corresponding color IDs and type.
      Specified by:
      batchUpsertPlayerFColors in interface FColorSQL
      Parameters:
      playerId - the unique identifier of the player
      numbers - list of color slot numbers
      fcolorIds - list of color identifiers corresponding to each number
      type - the classification type of the colors