Class PgOutputRelationMetaData
- java.lang.Object
-
- io.debezium.connector.postgresql.connection.pgoutput.PgOutputRelationMetaData
-
@Immutable public class PgOutputRelationMetaData extends Object
Defines the relational information for a relation-id mapping.- Author:
- Chris Cranford
-
-
Field Summary
Fields Modifier and Type Field Description private List<ColumnMetaData>columnsprivate Stringnameprivate List<String>primaryKeyNamesprivate intrelationIdprivate Stringschema
-
Constructor Summary
Constructors Constructor Description PgOutputRelationMetaData(int relationId, String schema, String name, List<ColumnMetaData> columns, List<String> primaryKeyNames)Construct a pgoutput relation metadata object representing a relational table.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ColumnMetaData>getColumns()StringgetName()List<String>getPrimaryKeyNames()intgetRelationId()StringgetSchema()TableIdgetTableId()
-
-
-
Constructor Detail
-
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
-
-