Class InputModificationCountProvider

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 Details

    • InputModificationCountProvider

      public InputModificationCountProvider(RecordInput input)
      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: ModificationCountProvider
      Gets 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:
      getModificationCount in interface ModificationCountProvider
      Returns:
      the current sequence number