Package

za.co.absa.cobrix.spark.cobol.reader

rules

Permalink

package rules

Visibility
  1. Public
  2. All

Type Members

  1. trait Rule extends AnyRef

    Permalink

    This is the trait for rules that can provide their fields, a result and also evaluate the rule expression.

  2. case class RuleExpression(expression: String, result: String) extends Product with Serializable

    Permalink

    This class holds expressions (possibly provided by users) and expected return from them.

    This class holds expressions (possibly provided by users) and expected return from them.

    expression

    String containing expressions in the format: field(a) == 2 || field(b) == field(c)

    result

    Whatever string the rule should return upon successful evaluation

Value Members

  1. object RulesFacade

    Permalink

    This class represents a facade to the rules interpretation and evaluation module.

Ungrouped