Enum Class DataManager.Type

java.lang.Object
java.lang.Enum<DataManager.Type>
com.ranull.graves.manager.DataManager.Type
All Implemented Interfaces:
Serializable, Comparable<DataManager.Type>, java.lang.constant.Constable
Enclosing class:
DataManager

public static enum DataManager.Type extends Enum<DataManager.Type>
Enum representing the types of databases supported.
  • Enum Constant Details

    • SQLITE

      public static final DataManager.Type SQLITE
      SQLite database system.

      This type represents an SQLite database, a self-contained, serverless SQL database engine.

    • MYSQL

      public static final DataManager.Type MYSQL
      MySQL database system.

      This type represents a MySQL database, a widely-used open-source relational database management system.

    • MARIADB

      public static final DataManager.Type MARIADB
      MariaDB database system.

      This type represents a MariaDB database, a community-developed fork of MySQL.

    • POSTGRESQL

      public static final DataManager.Type POSTGRESQL
      PostgreSQL database system.

      This type represents a PostgreSQL database, an open-source relational database known for its advanced features and extensibility.

    • H2

      public static final DataManager.Type H2
      H2 database system.

      This type represents an H2 database, a Java SQL database that is fast and lightweight, often used for development and testing.

    • MSSQL

      public static final DataManager.Type MSSQL
      Microsoft SQL Server (MS SQL) database system.

      This type represents a Microsoft SQL Server database, a robust, scalable, and enterprise-grade relational database system commonly used in production environments. MS SQL offers comprehensive features for transaction management, high availability, security, and performance optimization, making it suitable for large-scale applications.

    • INVALID

      public static final DataManager.Type INVALID
      Invalid or unsupported database type.

      This type represents an invalid or unsupported database system, used to indicate errors or unsupported configurations.

  • Constructor Details

    • Type

      private Type()
  • Method Details

    • values

      public static DataManager.Type[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static DataManager.Type valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null