Class XmlWriteEventAdapter
java.lang.Object
io.debezium.connector.oracle.logminer.processor.infinispan.marshalling.LogMinerEventAdapter
io.debezium.connector.oracle.logminer.processor.infinispan.marshalling.XmlWriteEventAdapter
A LogMiner event that represents a
XML_WRITE event type.- Author:
- Chris Cranford
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfactory(int eventType, String scn, String tableId, String rowId, String rsId, String changeTime, String xml, Integer length) A ProtoStream factory that createsXmlWriteEventinstances.getLength(XmlWriteEvent event) A ProtoStream handler to extract thelengthof the XML field from theXmlWriteEvent.getXml(XmlWriteEvent event) A ProtoStream handler to extract thexmlfield from theXmlWriteEvent.Methods inherited from class io.debezium.connector.oracle.logminer.processor.infinispan.marshalling.LogMinerEventAdapter
factory, getChangeTime, getEventType, getRowId, getRsId, getScn, getTableId
-
Constructor Details
-
XmlWriteEventAdapter
public XmlWriteEventAdapter()
-
-
Method Details
-
factory
@ProtoFactory public XmlWriteEvent factory(int eventType, String scn, String tableId, String rowId, String rsId, String changeTime, String xml, Integer length) A ProtoStream factory that createsXmlWriteEventinstances.- Parameters:
eventType- the event typescn- the system change number, must not benulltableId- the fully-qualified table namerowId- the Oracle row-id the change is associated withrsId- the Oracle rollback segment identifierchangeTime- the time the change occurredxml- the xml documentlength- the length of the document- Returns:
- the constructed DmlEvent
-
getXml
A ProtoStream handler to extract thexmlfield from theXmlWriteEvent.- Parameters:
event- the event instance, must not benull- Returns:
- the xml
-
getLength
A ProtoStream handler to extract thelengthof the XML field from theXmlWriteEvent.- Parameters:
event- the event instance, must not benull- Returns:
- the length, never
null
-