Record Class RowWriteResult.Rejected
java.lang.Object
java.lang.Record
dev.hardwood.writer.RowWriteResult.Rejected
- All Implemented Interfaces:
RowWriteResult
- Enclosing interface:
RowWriteResult
public static record RowWriteResult.Rejected(String fieldPath, String message)
extends Record
implements RowWriteResult
The record was not staged.
fieldPath is the schema path already used in rejection
messages; message is the full text RowWriter.writeRow(Consumer) throws for the same
rejection.-
Nested Class Summary
Nested classes/interfaces inherited from interface RowWriteResult
RowWriteResult.Rejected, RowWriteResult.Staged -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of thefieldPathrecord component.final inthashCode()Returns a hash code value for this object.message()Returns the value of themessagerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Rejected
-
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
fieldPath
Returns the value of thefieldPathrecord component.- Returns:
- the value of the
fieldPathrecord component
-
message
Returns the value of themessagerecord component.- Returns:
- the value of the
messagerecord component
-