Class ChangeEvent


  • public class ChangeEvent
    extends Object
    Change event.
    • Method Detail

      • getId

        public ChangeIdentifier getId()
        A unique change identifier that identifies this change record. It can be used to query changes from this change onward.
        Returns:
        change identifier
      • getTxId

        public Long getTxId()
        A number identifying which transaction the change happened in, unique in combination with seq. Transaction identifiers are not continuous (some transactions, such as system and schema commands, are not recorded in change data capture and cause gaps in the transaction identifiers).
        Returns:
        transaction id
      • getSeq

        public Integer getSeq()
        A number used for ordering changes that happened in the same transaction. The order of changes observed in the output does not necessarily correspond to the order in which changes were applied during the transaction.
        Returns:
        sequence
      • getMetadata

        public Metadata getMetadata()
        Other useful information about the transaction.
        Returns:
        metadata
      • getEvent

        public Event getEvent()
        Details about the actual data change.
        Returns:
        event
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object