Package com.dataai.etl.spark.api
Record Class DataAiResult
java.lang.Object
java.lang.Record
com.dataai.etl.spark.api.DataAiResult
public record DataAiResult(org.apache.spark.sql.Dataset<org.apache.spark.sql.Row> cleanRows, org.apache.spark.sql.Dataset<org.apache.spark.sql.Row> rejectedRows, org.apache.spark.sql.Dataset<org.apache.spark.sql.Row> findings, org.apache.spark.sql.Dataset<org.apache.spark.sql.Row> fieldProfiles, PipelineSummary summary)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionDataAiResult(org.apache.spark.sql.Dataset<org.apache.spark.sql.Row> cleanRows, org.apache.spark.sql.Dataset<org.apache.spark.sql.Row> rejectedRows, org.apache.spark.sql.Dataset<org.apache.spark.sql.Row> findings, org.apache.spark.sql.Dataset<org.apache.spark.sql.Row> fieldProfiles, PipelineSummary summary) Creates an instance of aDataAiResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.spark.sql.Dataset<org.apache.spark.sql.Row>Returns the value of thecleanRowsrecord component.final booleanIndicates whether some other object is "equal to" this one.org.apache.spark.sql.Dataset<org.apache.spark.sql.Row>Returns the value of thefieldProfilesrecord component.org.apache.spark.sql.Dataset<org.apache.spark.sql.Row>findings()Returns the value of thefindingsrecord component.final inthashCode()Returns a hash code value for this object.org.apache.spark.sql.Dataset<org.apache.spark.sql.Row>Returns the value of therejectedRowsrecord component.voidrequireMinimumQualityScore(double minimumScore) summary()Returns the value of thesummaryrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
DataAiResult
public DataAiResult(org.apache.spark.sql.Dataset<org.apache.spark.sql.Row> cleanRows, org.apache.spark.sql.Dataset<org.apache.spark.sql.Row> rejectedRows, org.apache.spark.sql.Dataset<org.apache.spark.sql.Row> findings, org.apache.spark.sql.Dataset<org.apache.spark.sql.Row> fieldProfiles, PipelineSummary summary) Creates an instance of aDataAiResultrecord class.- Parameters:
cleanRows- the value for thecleanRowsrecord componentrejectedRows- the value for therejectedRowsrecord componentfindings- the value for thefindingsrecord componentfieldProfiles- the value for thefieldProfilesrecord componentsummary- the value for thesummaryrecord component
-
-
Method Details
-
requireMinimumQualityScore
public void requireMinimumQualityScore(double minimumScore) -
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. -
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. -
equals
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. All components in this record class are compared withObjects::equals(Object,Object). -
cleanRows
public org.apache.spark.sql.Dataset<org.apache.spark.sql.Row> cleanRows()Returns the value of thecleanRowsrecord component.- Returns:
- the value of the
cleanRowsrecord component
-
rejectedRows
public org.apache.spark.sql.Dataset<org.apache.spark.sql.Row> rejectedRows()Returns the value of therejectedRowsrecord component.- Returns:
- the value of the
rejectedRowsrecord component
-
findings
public org.apache.spark.sql.Dataset<org.apache.spark.sql.Row> findings()Returns the value of thefindingsrecord component.- Returns:
- the value of the
findingsrecord component
-
fieldProfiles
public org.apache.spark.sql.Dataset<org.apache.spark.sql.Row> fieldProfiles()Returns the value of thefieldProfilesrecord component.- Returns:
- the value of the
fieldProfilesrecord component
-
summary
Returns the value of thesummaryrecord component.- Returns:
- the value of the
summaryrecord component
-