Class PgSnapshot

java.lang.Object
io.debezium.connector.postgresql.PgSnapshot

public class PgSnapshot extends Object
This class contains the information returned by the pg_current_snapshot function.
Author:
Mario Fiore Vitale
  • Field Details

  • Constructor Details

  • Method Details

    • getXMin

      public Long getXMin()
    • getXMax

      public Long getXMax()
    • getXip

      public Set<Long> getXip()
    • valueOf

      public static PgSnapshot valueOf(String snapshotString)
      Returns a PgSnapshot instance representing the specified snapshot string
      Parameters:
      snapshotString - is the string returned by the pg_current_snapshot function
      Returns:
      a PgSnapshot representing the snapshotString
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object