public abstract class AbstractBinlogTableEventWriter<T extends BinlogTableEventInfo> extends AbstractBinlogEventWriter<T>
jsonGeneratorAPPLICATION_JSON, CDC_EVENT_TYPE_ATTRIBUTE, SEQUENCE_ID_KEY| Constructor and Description |
|---|
AbstractBinlogTableEventWriter() |
| Modifier and Type | Method and Description |
|---|---|
long |
writeEvent(ProcessSession session,
String transitUri,
T eventInfo,
long currentSequenceId,
Relationship relationship) |
protected void |
writeJson(T event) |
getCommonAttributesendJson, startJsonprotected void writeJson(T event) throws IOException
writeJson in class AbstractBinlogEventWriter<T extends BinlogTableEventInfo>IOExceptionpublic long writeEvent(ProcessSession session, String transitUri, T eventInfo, long currentSequenceId, Relationship relationship)
writeEvent in interface EventWriter<T extends BinlogTableEventInfo>writeEvent in class AbstractBinlogEventWriter<T extends BinlogTableEventInfo>Copyright © 2017 Apache NiFi Project. All rights reserved.