Enum Class DataScale

java.lang.Object
java.lang.Enum<DataScale>
org.gridgain.tpcds.DataScale
All Implemented Interfaces:
Serializable, Comparable<DataScale>, Constable

public enum DataScale extends Enum<DataScale>
TPC-DS data scale factor configuration.
  • Enum Constant Details

    • SMALL

      public static final DataScale SMALL
    • MEDIUM

      public static final DataScale MEDIUM
  • Method Details

    • values

      public static DataScale[] 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 DataScale 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
    • scaleFactor

      public double scaleFactor()
      Scale factor used by data generator. See Session and Scaling.
      Returns:
      The scale factor for data generator.
    • answersDirectoryName

      public String answersDirectoryName()
      Returns the lowercase directory name used for organizing answer files by data scale.
      Returns:
      the lowercase name of the selected data scale.