case class MetaRuleSetRow(ruleSuiteId: Int, ruleSuiteVersion: Int, ruleSetId: Int, ruleSetVersion: Int, columnFilter: String, ruleExpr: String) extends Product with Serializable
only one arg is supported without brackets etc.
Law: Each Rule generated must have a stable Id for the same column, the version used is the same as the RuleSet
The caller of withNameAndOrd must enforce this law to have stable and correctly evolving rules.
- Alphabetic
- By Inheritance
- MetaRuleSetRow
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new MetaRuleSetRow(ruleSuiteId: Int, ruleSuiteVersion: Int, ruleSetId: Int, ruleSetVersion: Int, columnFilter: String, ruleExpr: String)
Type Members
-
case class
MetaRuleGenerator(stablePosition: (String) ⇒ Int) extends Product with Serializable
- stablePosition
- should always be the same for this column, evaluated with columnName
- Attributes
- protected[quality]
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val arg: String
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- val columnFilter: String
-
def
createGenerator(stablePosition: (String) ⇒ Int): MetaRuleGenerator
creates the generator used to make rules
creates the generator used to make rules
- Attributes
- protected[quality]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
filterColumns(dataFrame: DataFrame, transform: (DataFrame) ⇒ DataFrame = identity): Set[String]
Applies a filter to the schema of the provided dataframe
Applies a filter to the schema of the provided dataframe
- returns
a lower case set of column names
- Attributes
- protected[quality]
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
generateRuleSet(dataFrame: DataFrame, stablePosition: (String) ⇒ Int, transform: (DataFrame) ⇒ DataFrame = identity): RuleSet
Generates rules over a given dataframe using the stablePosition function
Generates rules over a given dataframe using the stablePosition function
- stablePosition
- should always be the same for this column, evaluated with columnName
- transform
- allows enriching of the column, e.g. joining another table for extra filtering information.
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val ruleExpr: String
- val rulePart: String
- val ruleSetId: Int
- val ruleSetVersion: Int
- val ruleSuiteId: Int
- val ruleSuiteVersion: Int
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()