java.lang.Object
java.lang.Enum<TpchTable>
io.trino.tempto.fulfillment.table.hive.tpch.TpchTable
All Implemented Interfaces:
Serializable, Comparable<TpchTable>, java.lang.constant.Constable

public enum TpchTable extends Enum<TpchTable>
Enum containing names of all TPCH tables. Moreover it holds reference to TpchTable entity which is used for generating data.
  • Enum Constant Details

    • NATION

      public static final TpchTable NATION
    • REGION

      public static final TpchTable REGION
    • PART

      public static final TpchTable PART
    • ORDERS

      public static final TpchTable ORDERS
    • CUSTOMER

      public static final TpchTable CUSTOMER
    • SUPPLIER

      public static final TpchTable SUPPLIER
    • LINE_ITEM

      public static final TpchTable LINE_ITEM
    • PART_SUPPLIER

      public static final TpchTable PART_SUPPLIER
  • Method Details

    • values

      public static TpchTable[] 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 TpchTable 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
    • entity

      public io.trino.tpch.TpchTable<?> entity()