java.lang.Object
com.pervasive.datarush.tokens.InputModificationCountProvider
- All Implemented Interfaces:
ModificationCountProvider
public final class InputModificationCountProvider
extends Object
implements ModificationCountProvider
A change sequence derived from an input port. The sequence number
advances as the input port is advanced using
RecordInput.stepNext()
Use this implementation with classes wrapping a record value
where the value is a RecordInput.-
Constructor Summary
ConstructorsConstructorDescriptionCreates a change sequence based on the specified input port. -
Method Summary
-
Constructor Details
-
InputModificationCountProvider
Creates a change sequence based on the specified input port. As the port advances, the sequence number changes.- Parameters:
input- the port used as the basis of the change sequence
-
-
Method Details
-
getModificationCount
public long getModificationCount()Description copied from interface:ModificationCountProviderGets the current change number. This value is monotonically increasing; a change in value indicates a change to the data structure associated with the provider.- Specified by:
getModificationCountin interfaceModificationCountProvider- Returns:
- the current sequence number
-