Interface Transaction

    • Method Detail

      • getTransactionId

        String getTransactionId()
        Get the transaction identifier
        Returns:
        the transaction unique identifier, never null
      • getStartScn

        Scn getStartScn()
        Get the system change number of when the transaction started
        Returns:
        the system change number, never null
      • getChangeTime

        Instant getChangeTime()
        Get the time when the transaction started
        Returns:
        the timestamp of the transaction, never null
      • getUserName

        String getUserName()
        Get the username associated with the transaction
        Returns:
        the username, may be null
      • getNumberOfEvents

        int getNumberOfEvents()
        Get the number of events participating in the transaction.
        Returns:
        the number of transaction events
      • getNextEventId

        int getNextEventId()
        Helper method to get the next event identifier for the transaction.
        Returns:
        the next event identifier
      • start

        void start()
        Helper method that resets the event identifier back to 0. This should be called when a transaction START event is detected in the event stream. This is required when LOB support is enabled to facilitate the re-mining of existing events.