Enum Class TableValidationMode

java.lang.Object
java.lang.Enum<TableValidationMode>
com.illumon.iris.validation.TableValidationMode
All Implemented Interfaces:
Serializable, Comparable<TableValidationMode>, java.lang.constant.Constable

public enum TableValidationMode extends Enum<TableValidationMode>
Mode used to validate a table. The mode on individual tests can be set using TableValidationMode_FullDatabase or TableValidationMode_SimpleTable.
See Also:
  • Enum Constant Details

    • SIMPLE_TABLE

      public static final TableValidationMode SIMPLE_TABLE
      Validate a simple leaf-node table.
    • FULL_INTRADAY

      public static final TableValidationMode FULL_INTRADAY
      Validate a full intraday table. This is based on a single table location (namespace/table name/column partition value).
    • FULL_DATABASE

      public static final TableValidationMode FULL_DATABASE
      Validate a complete multi-partition historical table from the database. This is based on a single table location (namespace/table name/column partition value).
  • Method Details

    • values

      public static TableValidationMode[] 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 TableValidationMode 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
    • getModeName

      public abstract String getModeName()
      Provide a user-friendly name that can be added to log messages and exceptions.
      Returns:
      a user-friendly mode name
    • isFullMode

      public abstract boolean isFullMode()
      Indicate whether this is a full database mode.
      Returns:
      true means it's a full database mode, false means it's a simple database mode