Class TruncateEventAdapter
- java.lang.Object
-
- io.debezium.connector.oracle.logminer.processor.infinispan.marshalling.LogMinerEventAdapter
-
- io.debezium.connector.oracle.logminer.processor.infinispan.marshalling.TruncateEventAdapter
-
@ProtoAdapter(TruncateEvent.class) public class TruncateEventAdapter extends LogMinerEventAdapter
-
-
Constructor Summary
Constructors Constructor Description TruncateEventAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TruncateEventfactory(int eventType, String scn, String tableId, String rowId, String rsId, String changeTime, LogMinerDmlEntryImpl entry)A ProtoStream factory that createsTruncateEventinstances.LogMinerDmlEntryImplgetEntry(TruncateEvent event)A ProtoStream handler to extract theentryfield from theTruncateEvent.-
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 TruncateEvent factory(int eventType, String scn, String tableId, String rowId, String rsId, String changeTime, LogMinerDmlEntryImpl entry)
A ProtoStream factory that createsTruncateEventinstances.- 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(TruncateEvent event)A ProtoStream handler to extract theentryfield from theTruncateEvent.- Parameters:
event- the event instance, must not benull- Returns:
- the LogMinerDmlEntryImpl instance
-
-