Package io.debezium.connector.postgresql
Class Utils
- java.lang.Object
-
- io.debezium.connector.postgresql.Utils
-
public final class Utils extends Object
A utility class for accessing various Debezium package-private methods.
-
-
Constructor Summary
Constructors Constructor Description Utils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PostgresOffsetcurrentOffset(PostgresConnection jdbcConnection)static LsnlastKnownLsn(io.debezium.connector.postgresql.PostgresOffsetContext ctx)static io.debezium.connector.postgresql.PostgresSchemarefreshSchema(io.debezium.connector.postgresql.PostgresSchema schema, PostgresConnection pgConnection, boolean printReplicaIdentityInfo)
-
-
-
Method Detail
-
lastKnownLsn
public static Lsn lastKnownLsn(io.debezium.connector.postgresql.PostgresOffsetContext ctx)
-
currentOffset
public static PostgresOffset currentOffset(PostgresConnection jdbcConnection)
-
refreshSchema
public static io.debezium.connector.postgresql.PostgresSchema refreshSchema(io.debezium.connector.postgresql.PostgresSchema schema, PostgresConnection pgConnection, boolean printReplicaIdentityInfo) throws SQLException- Throws:
SQLException
-
-