Record Class DataAiJobConfiguration

java.lang.Object
java.lang.Record
com.dataai.etl.spark.cli.DataAiJobConfiguration

public record DataAiJobConfiguration(String sourceTable, String cleanTable, String rejectedTable, String profileTable, String findingsTable, boolean normalize, List<String> recordKeyColumns, List<com.dataai.etl.spark.api.RuleSpec> rules, Double minimumQualityScore) extends Record
  • Constructor Details

    • DataAiJobConfiguration

      public DataAiJobConfiguration(String sourceTable, String cleanTable, String rejectedTable, String profileTable, String findingsTable, boolean normalize, List<String> recordKeyColumns, List<com.dataai.etl.spark.api.RuleSpec> rules, Double minimumQualityScore)
      Creates an instance of a DataAiJobConfiguration record class.
      Parameters:
      sourceTable - the value for the sourceTable record component
      cleanTable - the value for the cleanTable record component
      rejectedTable - the value for the rejectedTable record component
      profileTable - the value for the profileTable record component
      findingsTable - the value for the findingsTable record component
      normalize - the value for the normalize record component
      recordKeyColumns - the value for the recordKeyColumns record component
      rules - the value for the rules record component
      minimumQualityScore - the value for the minimumQualityScore record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • sourceTable

      public String sourceTable()
      Returns the value of the sourceTable record component.
      Returns:
      the value of the sourceTable record component
    • cleanTable

      public String cleanTable()
      Returns the value of the cleanTable record component.
      Returns:
      the value of the cleanTable record component
    • rejectedTable

      public String rejectedTable()
      Returns the value of the rejectedTable record component.
      Returns:
      the value of the rejectedTable record component
    • profileTable

      public String profileTable()
      Returns the value of the profileTable record component.
      Returns:
      the value of the profileTable record component
    • findingsTable

      public String findingsTable()
      Returns the value of the findingsTable record component.
      Returns:
      the value of the findingsTable record component
    • normalize

      public boolean normalize()
      Returns the value of the normalize record component.
      Returns:
      the value of the normalize record component
    • recordKeyColumns

      public List<String> recordKeyColumns()
      Returns the value of the recordKeyColumns record component.
      Returns:
      the value of the recordKeyColumns record component
    • rules

      public List<com.dataai.etl.spark.api.RuleSpec> rules()
      Returns the value of the rules record component.
      Returns:
      the value of the rules record component
    • minimumQualityScore

      public Double minimumQualityScore()
      Returns the value of the minimumQualityScore record component.
      Returns:
      the value of the minimumQualityScore record component