Class DmlEventAdapter
- java.lang.Object
-
- io.debezium.connector.oracle.logminer.processor.infinispan.marshalling.LogMinerEventAdapter
-
- io.debezium.connector.oracle.logminer.processor.infinispan.marshalling.DmlEventAdapter
-
- Direct Known Subclasses:
SelectLobLocatorEventAdapter
@ProtoAdapter(DmlEvent.class) public class DmlEventAdapter extends LogMinerEventAdapter
An Infinispan ProtoStream adapter to marshallDmlEventinstances. This class defines a factory for creatingDmlEventinstances 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 DmlEvent { // structure of the super type, LogMinerEventAdapter required LogMinerDmlEntryImpl entry = 7; }- Author:
- Chris Cranford
-
-
Constructor Summary
Constructors Constructor Description DmlEventAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DmlEventfactory(int eventType, String scn, String tableId, String rowId, String rsId, String changeTime, LogMinerDmlEntryImpl entry)A ProtoStream factory that createsDmlEventinstances.LogMinerDmlEntryImplgetEntry(DmlEvent event)A ProtoStream handler to extract theentryfield from theDmlEvent.-
Methods inherited from class io.debezium.connector.oracle.logminer.processor.infinispan.marshalling.LogMinerEventAdapter
factory, getChangeTime, getEventType, getRowId, getRsId, getScn, getTableId
-
-
-
-
Method Detail
-
factory
@ProtoFactory public DmlEvent factory(int eventType, String scn, String tableId, String rowId, String rsId, String changeTime, LogMinerDmlEntryImpl entry)
A ProtoStream factory that createsDmlEventinstances.- 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 entry- Returns:
- the constructed DmlEvent
-
getEntry
@ProtoField(number=7, required=true) public LogMinerDmlEntryImpl getEntry(DmlEvent event)A ProtoStream handler to extract theentryfield from theDmlEvent.- Parameters:
event- the event instance, must not benull- Returns:
- the LogMinerDmlEntryImpl instance
-
-