Class DataQualityAnalyzer.QualityTest

java.lang.Object
com.pervasive.datarush.analytics.stats.DataQualityAnalyzer.QualityTest
All Implemented Interfaces:
Serializable
Enclosing class:
DataQualityAnalyzer

public static class DataQualityAnalyzer.QualityTest extends Object implements Serializable
A quality test consists of a test name (used to reference the test in the statistics) plus a boolean predicate.
See Also:
  • Constructor Details

    • QualityTest

      public QualityTest(String testName, ScalarValuedFunction predicate)
      Create a quality test
      Parameters:
      testName - the test name that is used to reference the test in the output statistics model
      predicate - a boolean predicate that is evaluated on each row of the input
  • Method Details

    • getTestName

      public String getTestName()
      Returns the test name. This is used to reference the test in the output statistics model
      Returns:
      the test name
    • getPredicate

      public ScalarValuedFunction getPredicate()
      Returns a boolean predicate. All predicates are evaluated on each row. If any tests return "false" the row is considered dirty.
      Returns:
      a boolean predicate