Record Class FlowFileResultCarrier<T>
java.lang.Object
java.lang.Record
org.apache.nifi.processors.azure.storage.utils.FlowFileResultCarrier<T>
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionFlowFileResultCarrier(org.apache.nifi.flowfile.FlowFile flowFile, T result) FlowFileResultCarrier(org.apache.nifi.flowfile.FlowFile flowFile, T result, Throwable exception) Creates an instance of aFlowFileResultCarrierrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of theexceptionrecord component.org.apache.nifi.flowfile.FlowFileflowFile()Returns the value of theflowFilerecord component.final inthashCode()Returns a hash code value for this object.result()Returns the value of theresultrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
flowFile
private final org.apache.nifi.flowfile.FlowFile flowFileThe field for theflowFilerecord component. -
result
The field for theresultrecord component. -
exception
The field for theexceptionrecord component.
-
-
Constructor Details
-
FlowFileResultCarrier
-
FlowFileResultCarrier
public FlowFileResultCarrier(org.apache.nifi.flowfile.FlowFile flowFile, T result, Throwable exception) Creates an instance of aFlowFileResultCarrierrecord class.- Parameters:
flowFile- the value for theflowFilerecord componentresult- the value for theresultrecord componentexception- the value for theexceptionrecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
flowFile
public org.apache.nifi.flowfile.FlowFile flowFile()Returns the value of theflowFilerecord component.- Returns:
- the value of the
flowFilerecord component
-
result
Returns the value of theresultrecord component.- Returns:
- the value of the
resultrecord component
-
exception
Returns the value of theexceptionrecord component.- Returns:
- the value of the
exceptionrecord component
-