Record Class PipelineEvent.KeyOpen<K extends DataPointQueryKey>
java.lang.Object
java.lang.Record
com.inductiveautomation.historian.gateway.api.query.pipeline.PipelineEvent.KeyOpen<K>
- All Implemented Interfaces:
PipelineEvent<K>
- Enclosing interface:
PipelineEvent<K extends DataPointQueryKey>
public static record PipelineEvent.KeyOpen<K extends DataPointQueryKey>(K extends DataPointQueryKey key)
extends Record
implements PipelineEvent<K>
Signals that the stream of points for
key() has begun.-
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
Constructors -
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.key()Returns the value of thekeyrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
KeyOpen
Creates an instance of aKeyOpenrecord class.- Parameters:
key- the value for thekeyrecord 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
-