Record Class ChunkOutcome
java.lang.Object
java.lang.Record
com.kingsrook.qqq.backend.core.jobs.model.ChunkOutcome
- Record Components:
rowsIn- rows the chunk readrowsOk- rows it appliedrowsFailed- rows that failed (recorded in jobs_row_error)summaryJson- merged ProcessSummaryLines for the chunk, as JSON (may be null)outputsJson- outputs left in storage (reports, exports), as JSON (may be null)
public record ChunkOutcome(int rowsIn, int rowsOk, int rowsFailed, String summaryJson, String outputsJson)
extends Record
What a chunk run produced.
-
Constructor Summary
ConstructorsConstructorDescriptionChunkOutcome(int rowsIn, int rowsOk, int rowsFailed, String summaryJson, String outputsJson) Creates an instance of aChunkOutcomerecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theoutputsJsonrecord component.intReturns the value of therowsFailedrecord component.introwsIn()Returns the value of therowsInrecord component.introwsOk()Returns the value of therowsOkrecord component.Returns the value of thesummaryJsonrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ChunkOutcome
Creates an instance of aChunkOutcomerecord class.- Parameters:
rowsIn- the value for therowsInrecord componentrowsOk- the value for therowsOkrecord componentrowsFailed- the value for therowsFailedrecord componentsummaryJson- the value for thesummaryJsonrecord componentoutputsJson- the value for theoutputsJsonrecord component
-
-
Method Details
-
toString
-
hashCode
-
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 thecomparemethod from their corresponding wrapper classes. -
rowsIn
-
rowsOk
-
rowsFailed
public int rowsFailed()Returns the value of therowsFailedrecord component.- Returns:
- the value of the
rowsFailedrecord component
-
summaryJson
Returns the value of thesummaryJsonrecord component.- Returns:
- the value of the
summaryJsonrecord component
-
outputsJson
Returns the value of theoutputsJsonrecord component.- Returns:
- the value of the
outputsJsonrecord component
-