Module org.jooq
Package org.jooq

Enum TableOptions.TableType

    • Enum Constant Detail

      • TEMPORARY

        public static final TableOptions.TableType TEMPORARY
        A global temporary table that is stored in the schema and visible to everyone.
      • MATERIALIZED_VIEW

        public static final TableOptions.TableType MATERIALIZED_VIEW
        A materialised view that is defined by a Select statement, and whose data is materialised in the schema.
      • EXPRESSION

        public static final TableOptions.TableType EXPRESSION
        A table expression, such as a derived table, a joined table, a common table expression, etc.
    • Method Detail

      • values

        public static TableOptions.TableType[] 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 (TableOptions.TableType c : TableOptions.TableType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static TableOptions.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
      • isView

        public final boolean isView()
        Whether the type is a view.
      • isTable

        public final boolean isTable()
        Whether the type is a view.