Package com.illumon.iris.validation
Class RunDataQualityTests
java.lang.Object
com.illumon.iris.validation.RunDataQualityTests
public class RunDataQualityTests extends Object
Run data quality tests.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RunDataQualityTests.TestType
-
Constructor Summary
Constructors Constructor Description RunDataQualityTests()
-
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 ExceptionRun 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
-