Package com.dataai.etl.spark.api
Record Class PipelineSummary
java.lang.Object
java.lang.Record
com.dataai.etl.spark.api.PipelineSummary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecompletedAtrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thelibraryVersionrecord component.doubleReturns the value of thequalityScorerecord component.longReturns the value of therowsAcceptedrecord component.longrowsRead()Returns the value of therowsReadrecord component.longReturns the value of therowsRejectedrecord component.runId()Returns the value of therunIdrecord component.Returns the value of thestartedAtrecord component.status()Returns the value of thestatusrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PipelineSummary
public PipelineSummary(String runId, Instant startedAt, Instant completedAt, String status, long rowsRead, long rowsAccepted, long rowsRejected, double qualityScore, String libraryVersion) Creates an instance of aPipelineSummaryrecord class.- Parameters:
runId- the value for therunIdrecord componentstartedAt- the value for thestartedAtrecord componentcompletedAt- the value for thecompletedAtrecord componentstatus- the value for thestatusrecord componentrowsRead- the value for therowsReadrecord componentrowsAccepted- the value for therowsAcceptedrecord componentrowsRejected- the value for therowsRejectedrecord componentqualityScore- the value for thequalityScorerecord componentlibraryVersion- the value for thelibraryVersionrecord component
-
-
Method Details
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
runId
Returns the value of therunIdrecord component.- Returns:
- the value of the
runIdrecord component
-
startedAt
Returns the value of thestartedAtrecord component.- Returns:
- the value of the
startedAtrecord component
-
completedAt
Returns the value of thecompletedAtrecord component.- Returns:
- the value of the
completedAtrecord component
-
status
Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-
rowsRead
public long rowsRead()Returns the value of therowsReadrecord component.- Returns:
- the value of the
rowsReadrecord component
-
rowsAccepted
public long rowsAccepted()Returns the value of therowsAcceptedrecord component.- Returns:
- the value of the
rowsAcceptedrecord component
-
rowsRejected
public long rowsRejected()Returns the value of therowsRejectedrecord component.- Returns:
- the value of the
rowsRejectedrecord component
-
qualityScore
public double qualityScore()Returns the value of thequalityScorerecord component.- Returns:
- the value of the
qualityScorerecord component
-
libraryVersion
Returns the value of thelibraryVersionrecord component.- Returns:
- the value of the
libraryVersionrecord component
-