Package org.h2.table

Enum TableType

java.lang.Object
java.lang.Enum<TableType>
org.h2.table.TableType
All Implemented Interfaces:
Serializable, Comparable<TableType>, java.lang.constant.Constable

public enum TableType extends Enum<TableType>
The table types.
  • Enum Constant Details

    • SYSTEM_TABLE

      public static final TableType SYSTEM_TABLE
      The table type name for system tables. (aka. MetaTable)
    • TABLE

      public static final TableType TABLE
      The table type name for regular data tables.
    • VIEW

      public static final TableType VIEW
      The table type name for views.
    • EXTERNAL_TABLE_ENGINE

      public static final TableType EXTERNAL_TABLE_ENGINE
      The table type name for external table engines.
  • Constructor Details

    • TableType

      private TableType()
  • Method Details

    • values

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

      public static TableType 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
    • toString

      public String toString()
      Overrides:
      toString in class Enum<TableType>