public class SchemaChangeEvent extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SchemaChangeEvent.SchemaChangeEventType |
| Modifier and Type | Field and Description |
|---|---|
private String |
database |
private String |
ddl |
private boolean |
isFromSnapshot |
private Map<String,?> |
offset |
private Map<String,?> |
partition |
private String |
schema |
private Set<Table> |
tables |
private SchemaChangeEvent.SchemaChangeEventType |
type |
| Constructor and Description |
|---|
SchemaChangeEvent(Map<String,?> partition,
Map<String,?> offset,
String database,
String schema,
String ddl,
Set<Table> tables,
SchemaChangeEvent.SchemaChangeEventType type,
boolean isFromSnapshot) |
SchemaChangeEvent(Map<String,?> partition,
Map<String,?> offset,
String database,
String schema,
String ddl,
Table table,
SchemaChangeEvent.SchemaChangeEventType type,
boolean isFromSnapshot) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDatabase() |
String |
getDdl() |
Map<String,?> |
getOffset() |
Map<String,?> |
getPartition() |
String |
getSchema() |
Set<Table> |
getTables() |
SchemaChangeEvent.SchemaChangeEventType |
getType() |
boolean |
isFromSnapshot() |
String |
toString() |
private final String database
private final String schema
private final String ddl
private final SchemaChangeEvent.SchemaChangeEventType type
private final boolean isFromSnapshot
public SchemaChangeEvent(Map<String,?> partition, Map<String,?> offset, String database, String schema, String ddl, Table table, SchemaChangeEvent.SchemaChangeEventType type, boolean isFromSnapshot)
public String getDatabase()
public String getSchema()
public String getDdl()
public SchemaChangeEvent.SchemaChangeEventType getType()
public boolean isFromSnapshot()
Copyright © 2019 JBoss by Red Hat. All rights reserved.