Class DataQualityAnalyzer.QualityTest

    • Constructor Detail

      • 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 Detail

      • 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