public interface Change
| Modifier and Type | Interface and Description |
|---|---|
static class |
Change.ChangeType
Type of change
|
static interface |
Change.ColumnValue |
| Modifier and Type | Field and Description |
|---|---|
static String |
DATABASE_NAME
The name of the column before it was changed.
|
static String |
SCHEMA_NAME |
static String |
TABLE_NAME |
| Modifier and Type | Method and Description |
|---|---|
Change.ChangeType |
changeType()
Type of change
|
String |
databaseName()
Name of the database where the change originated from.
|
List<Change.ColumnValue> |
keyColumns()
The columns with data for the key of the record.
|
Map<String,String> |
metadata()
Metadata for the change.
|
String |
schemaName()
Schema where the change originated from.
|
Map<String,Object> |
sourceOffset()
Source offset for the change.
|
Map<String,Object> |
sourcePartition()
Source partition for change.
|
static Map<String,Object> |
sourcePartition(Change change) |
static Map<String,Object> |
sourcePartition(ChangeKey change) |
static Map<String,Object> |
sourcePartition(String databaseName,
String schemaName,
String tableName) |
String |
tableName()
Table that was changed.
|
long |
timestamp()
Timestamp of when the transaction occurred.
|
List<Change.ColumnValue> |
valueColumns()
The columns with data for the value of the record.
|
static final String DATABASE_NAME
static final String SCHEMA_NAME
static final String TABLE_NAME
static Map<String,Object> sourcePartition(String databaseName, String schemaName, String tableName)
Map<String,Object> sourcePartition()
Map<String,Object> sourceOffset()
String databaseName()
String schemaName()
String tableName()
List<Change.ColumnValue> keyColumns()
List<Change.ColumnValue> valueColumns()
Change.ChangeType changeType()
long timestamp()
Copyright © 2017–2018. All rights reserved.