@Immutable public class PgOutputRelationMetaData extends Object
| Modifier and Type | Field and Description |
|---|---|
private List<ColumnMetaData> |
columns |
private String |
name |
private List<String> |
primaryKeyNames |
private int |
relationId |
private String |
schema |
| Constructor and Description |
|---|
PgOutputRelationMetaData(int relationId,
String schema,
String name,
List<ColumnMetaData> columns,
List<String> primaryKeyNames)
Construct a pgoutput relation metadata object representing a relational table.
|
| Modifier and Type | Method and Description |
|---|---|
List<ColumnMetaData> |
getColumns() |
String |
getName() |
List<String> |
getPrimaryKeyNames() |
int |
getRelationId() |
String |
getSchema() |
TableId |
getTableId() |
private final int relationId
private final String schema
private final String name
private final List<ColumnMetaData> columns
PgOutputRelationMetaData(int relationId,
String schema,
String name,
List<ColumnMetaData> columns,
List<String> primaryKeyNames)
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 namesCopyright © 2021 JBoss by Red Hat. All rights reserved.