Class XmlBeginEventAdapter
java.lang.Object
io.debezium.connector.oracle.logminer.processor.infinispan.marshalling.LogMinerEventAdapter
io.debezium.connector.oracle.logminer.processor.infinispan.marshalling.DmlEventAdapter
io.debezium.connector.oracle.logminer.processor.infinispan.marshalling.XmlBeginEventAdapter
An Infinispan ProtoStream adapter to marashall
XmlBeginEvent instances.
This class defines a factory for creating XmlBeginEvent instances when hydrating
records from the persisted datastore as well as field handlers to extract values
to be marshalled to the protocol buffer stream.
The underlying protocol buffer record consists of the following structure:
message XmlBeginEvent {
// structure of the super type, DmlEventAdapter
required string columnName = 8;
}
- Author:
- Chris Cranford
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfactory(int eventType, String scn, String tableId, String rowId, String rsId, String changeTime, LogMinerDmlEntryImpl entry, String columnName) A ProtoStream factory that createsXmlBeginEventinstances.getColumnName(XmlBeginEvent event) A ProtoStream handler to extract thecolumnNamefield from aXmlBeginEventtype.Methods inherited from class io.debezium.connector.oracle.logminer.processor.infinispan.marshalling.DmlEventAdapter
factory, getEntryMethods inherited from class io.debezium.connector.oracle.logminer.processor.infinispan.marshalling.LogMinerEventAdapter
factory, getChangeTime, getEventType, getRowId, getRsId, getScn, getTableId
-
Constructor Details
-
XmlBeginEventAdapter
public XmlBeginEventAdapter()
-
-
Method Details
-
factory
@ProtoFactory public XmlBeginEvent factory(int eventType, String scn, String tableId, String rowId, String rsId, String changeTime, LogMinerDmlEntryImpl entry, String columnName) A ProtoStream factory that createsXmlBeginEventinstances.- 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 occurredentry- the parsed SQL statement entrycolumnName- the column name references by the SelectLobLocatorEvent- Returns:
- the constructed SelectLobLocatorEvent
-
getColumnName
A ProtoStream handler to extract thecolumnNamefield from aXmlBeginEventtype.- Parameters:
event- the event instance, must not benull- Returns:
- the column name
-