Class ReplicationMessageColumnValueResolver
java.lang.Object
io.debezium.connector.postgresql.connection.ReplicationMessageColumnValueResolver
- Author:
- Chris Cranford
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ObjectresolveValue(String columnName, PostgresType type, String fullType, ReplicationMessage.ColumnValue value, PostgresStreamingChangeEventSource.PgConnectionSupplier connection, boolean includeUnknownDatatypes, TypeRegistry typeRegistry) Resolve the value of aReplicationMessage.ColumnValue.
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER
-
-
Constructor Details
-
ReplicationMessageColumnValueResolver
public ReplicationMessageColumnValueResolver()
-
-
Method Details
-
resolveValue
public static Object resolveValue(String columnName, PostgresType type, String fullType, ReplicationMessage.ColumnValue value, PostgresStreamingChangeEventSource.PgConnectionSupplier connection, boolean includeUnknownDatatypes, TypeRegistry typeRegistry) Resolve the value of aReplicationMessage.ColumnValue.- Parameters:
columnName- the column nametype- the postgres typefullType- the full type-name for the columnvalue- the column valueconnection- a postgres connection supplierincludeUnknownDatatypes- true to include unknown data types, false otherwisetypeRegistry- the postgres type registry- Returns:
-