public class RichEventParser extends Object implements EventParser<RichCdcRecord>
EventParser
for RichCdcRecord
.EventParser.Factory<T>
Constructor and Description |
---|
RichEventParser() |
Modifier and Type | Method and Description |
---|---|
List<CdcRecord> |
parseRecords()
Parse records from event.
|
List<DataField> |
parseSchemaChange()
Parse new schema if this event contains schema change.
|
void |
setRawEvent(RichCdcRecord rawEvent)
Set current raw event to the parser.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
parseNewTable, parseTableName
public void setRawEvent(RichCdcRecord rawEvent)
EventParser
setRawEvent
in interface EventParser<RichCdcRecord>
public List<DataField> parseSchemaChange()
EventParser
parseSchemaChange
in interface EventParser<RichCdcRecord>
public List<CdcRecord> parseRecords()
EventParser
parseRecords
in interface EventParser<RichCdcRecord>
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.