Package com.illumon.iris.validation
Class RunDataQualityTests
java.lang.Object
com.illumon.iris.validation.RunDataQualityTests
Run data quality tests.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
-
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 tabletableName
- the table for which to run the testscolumnPartition
- the column partition valuetestTypeParameter
- the test type, based on the TestType enumvalidatorClasses
- a comma-delimited list of validation classes to rundatabase
- 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
- Throws:
Exception
-