Class RunDataQualityTests

java.lang.Object
com.illumon.iris.validation.RunDataQualityTests

public class RunDataQualityTests extends Object
Run data quality tests.
  • Constructor Details

    • RunDataQualityTests

      public RunDataQualityTests()
  • Method Details

    • runDataQualityTests

      public static String runDataQualityTests(String namespace, String tableName, String columnPartition, String testTypeParameter, String validatorClasses, Database database) throws Exception
      Run the data quality tests based on the supplied details.
      Parameters:
      namespace - the namespace which contains the specified table
      tableName - the table for which to run the tests
      columnPartition - the column partition value
      testTypeParameter - the test type, based on the TestType enum
      validatorClasses - a comma-delimited list of validation classes to run
      database - the database on which to run the tests
      Returns:
      a String containing information on any failures, or null if no failures occurred
      Throws:
      Exception - if an exception occurs during the run
    • main

      public static void main(String[] args) throws Exception
      Throws:
      Exception