Record Class PipelineEvent.KeyFailure<K extends DataPointQueryKey>
java.lang.Object
java.lang.Record
com.inductiveautomation.historian.gateway.api.query.pipeline.PipelineEvent.KeyFailure<K>
- All Implemented Interfaces:
PipelineEvent<K>
- Enclosing interface:
PipelineEvent<K extends DataPointQueryKey>
public static record PipelineEvent.KeyFailure<K extends DataPointQueryKey>(K extends DataPointQueryKey key, QualityCode code)
extends Record
implements PipelineEvent<K>
Signals that the stream for
key() failed with the given quality code.-
Nested Class Summary
Nested classes/interfaces inherited from interface PipelineEvent
PipelineEvent.KeyComplete<K>, PipelineEvent.KeyFailure<K>, PipelineEvent.KeyOpen<K>, PipelineEvent.Point<K,P>, PipelineEvent.Watermark<K> -
Constructor Summary
ConstructorsConstructorDescriptionKeyFailure(K key, QualityCode code) Creates an instance of aKeyFailurerecord class. -
Method Summary
Modifier and TypeMethodDescriptioncode()Returns the value of thecoderecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.key()Returns the value of thekeyrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
KeyFailure
Creates an instance of aKeyFailurerecord class.- Parameters:
key- the value for thekeyrecord componentcode- the value for thecoderecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
key
Returns the value of thekeyrecord component.- Specified by:
keyin interfacePipelineEvent<K extends DataPointQueryKey>- Returns:
- the value of the
keyrecord component
-
code
Returns the value of thecoderecord component.- Returns:
- the value of the
coderecord component
-