Module datarush.analytics
Class DataQualityAnalyzer.QualityTest
java.lang.Object
com.pervasive.datarush.analytics.stats.DataQualityAnalyzer.QualityTest
- All Implemented Interfaces:
Serializable
- Enclosing class:
- DataQualityAnalyzer
A quality test consists of a test name (used to reference the test in the statistics)
plus a boolean predicate.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionQualityTest(String testName, ScalarValuedFunction predicate) Create a quality test -
Method Summary
Modifier and TypeMethodDescriptionReturns a boolean predicate.Returns the test name.
-
Constructor Details
-
QualityTest
Create a quality test- Parameters:
testName- the test name that is used to reference the test in the output statistics modelpredicate- a boolean predicate that is evaluated on each row of the input
-
-
Method Details
-
getTestName
Returns the test name. This is used to reference the test in the output statistics model- Returns:
- the test name
-
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
-