T
- CDC change event type@Experimental public interface EventParser<T>
Modifier and Type | Interface and Description |
---|---|
static interface |
EventParser.Factory<T>
Factory to create an
EventParser . |
Modifier and Type | Method and Description |
---|---|
default Optional<Schema> |
parseNewTable()
Parse newly added table schema from event.
|
List<CdcRecord> |
parseRecords()
Parse records from event.
|
List<DataField> |
parseSchemaChange()
Parse new schema if this event contains schema change.
|
default String |
parseTableName()
Parse the table name from raw event.
|
void |
setRawEvent(T rawEvent)
Set current raw event to the parser.
|
void setRawEvent(T rawEvent)
default String parseTableName()
List<DataField> parseSchemaChange()
List<CdcRecord> parseRecords()
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.