Class PgOutputRelationMetaData
java.lang.Object
io.debezium.connector.postgresql.connection.pgoutput.PgOutputRelationMetaData
Defines the relational information for a relation-id mapping.
- Author:
- Chris Cranford
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<ColumnMetaData> private final Stringprivate final intprivate final String -
Constructor Summary
ConstructorsConstructorDescriptionPgOutputRelationMetaData(int relationId, String schema, String name, List<ColumnMetaData> columns, List<String> primaryKeyNames) Construct a pgoutput relation metadata object representing a relational table. -
Method Summary
-
Field Details
-
relationId
private final int relationId -
schema
-
name
-
columns
-
-
-
Constructor Details
-
PgOutputRelationMetaData
PgOutputRelationMetaData(int relationId, String schema, String name, List<ColumnMetaData> columns, List<String> primaryKeyNames) Construct a pgoutput relation metadata object representing a relational table.- Parameters:
relationId- the postgres relation identifier, unique provided by the pgoutput streamschema- the schema the table exists within; should never be nullname- the name of the table; should never be nullcolumns- list of column metadata instances describing the state of each columnprimaryKeyNames- ordered list of primary key column names
-
-
Method Details
-
getRelationId
public int getRelationId() -
getSchema
-
getName
-
getColumns
-
getPrimaryKeyNames
-
getTableId
-