Package io.debezium.relational
Class Key
- java.lang.Object
-
- io.debezium.relational.Key
-
@Immutable public class Key extends Object
An immutable definition of a table's key. By default, the key will be comprised of the primary key column(s). A key can be customized with aKeyMapper.- Author:
- Guillaume Rosauro
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classKey.Builderstatic classKey.CustomKeyMapperCustom Key mapper used to override or defining a customKeyprivate static classKey.IdentityKeyMapperDefault Key mapper using PK as key.static interfaceKey.KeyMapperProvides the column(s) that should be used within the message key for a given table.
-
Field Summary
Fields Modifier and Type Field Description private Key.KeyMapperkeyMapperprivate Tabletable
-
Constructor Summary
Constructors Modifier Constructor Description privateKey(Table table, Key.KeyMapper keyMapper)
-
-
-
Field Detail
-
table
private final Table table
-
keyMapper
private final Key.KeyMapper keyMapper
-
-
Constructor Detail
-
Key
private Key(Table table, Key.KeyMapper keyMapper)
-
-