Enum DBTypes

  • All Implemented Interfaces:
    Serializable, Comparable<DBTypes>

    public enum DBTypes
    extends Enum<DBTypes>
    Enumeration of database types.
    Author:
    Erwan Bocher (CNRS 2021), Sylvain Palominos (UBS Chaire GEOTERA 2021)
    • Enum Constant Detail

      • POSTGRESQL

        public static final DBTypes POSTGRESQL
      • POSTGIS

        public static final DBTypes POSTGIS
      • H2

        public static final DBTypes H2
      • H2GIS

        public static final DBTypes H2GIS
      • UNKNOWN

        public static final DBTypes UNKNOWN
    • Method Detail

      • values

        public static DBTypes[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (DBTypes c : DBTypes.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static DBTypes valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
        NullPointerException - if the argument is null
      • getReservedWords

        public Set<String> getReservedWords()
        Return the list of the reserved keywords.
        Returns:
        The list of reserved keywords.
      • specialNamePattern

        public Pattern specialNamePattern()
        Return the special name pattern.
        Returns:
        The spacial name pattern.